A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2008 yearReturning %40 to an @ symbol - page 1
User InfoPosts
Returning %40 to an @ symbol#1
dev%40bionic%2Dcomms%2Eco%2Euk


I want to turn the above back in to readable text. Can anyone tell me how? Thanks

EDIT
Forgive my oversight, PHP is the language of choice!

posted date: 2008-12-12 02:21:00


Re: Returning %40 to an @ symbol#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2008-12-12 02:21:01


Re: Returning %40 to an @ symbol#3
In JavaScript: decodeURIComponent("dev%40bionic%2Dcomms%2Eco%2Euk")

posted date: 2008-12-12 02:26:00


Re: Returning %40 to an @ symbol#4
You haven't said which language, but in many the function you want is urldecode(Looking at your other questions, you probably want PHP. It is urldecode there :))

posted date: 2008-12-12 02:27:00


Re: Returning %40 to an @ symbol#5
Although this wasn't what you were after, for reference in C# you can use HttpUtility.UrlEncodeEDITUrlDecode :Phttp://msdn.microsoft.com/en-us/library/system.web.httputility.urldecode.aspx

posted date: 2008-12-12 02:28:00


Re: Returning %40 to an @ symbol#6
Thanks a lot for this! :D

posted date: 2008-12-12 02:35:00


Re: Returning %40 to an @ symbol#7
unescape doesn't work for non-ASCII characters and is deprecated, use decodeURIComponent instead (same goes for escape -> encodeURIComponent)

posted date: 2008-12-12 03:17:00


Re: Returning %40 to an @ symbol#8
uk.php.net is your friend

posted date: 2008-12-12 04:29:00


select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.