/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

GameDev doesn't URL-encode URLs with Unicode characters

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Cornstalks   Members   

Posted 21 April 2013 - 05:50 PM

After seeing this thread's interesting title, I decided to check the page source and see if the URL, where it was linked, was properly URL encoded. It was not. I checked both the this page and this page, and neither of them URL encoded it as:

 

http://www.gamedev.net/topic/642153-%E2%99%AAmarble%E3%83%BBtime%E2%98%85ost%E2%98%85release%E2%99%AA

 

Like they ought to have.

 

Just an FYI.


[ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

#2 Sik_the_hedgehog   Members   

Posted 21 April 2013 - 10:15 PM

As far as I know, both methods are valid, it's just that encoding is preferred for security reasons (makes it harder to spoof another URL by using similar characters). Well, and maybe compatibility with some servers, but maybe browsers rewrite the URLs under the hood to work around that.


Edited by Sik_the_hedgehog, 21 April 2013 - 10:16 PM.

Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.

#3 Cornstalks   Members   

Posted 22 April 2013 - 06:39 AM

According to RFC 3986, they must be URL encoded: http://en.m.wikipedia.org/wiki/Percent-encoding
[ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.