Strange urlecode behavior
Posted by: neo314 (---.hsd1.or.comcast.net)
Date: September 06, 2010 09:56AM

Hi All,

I am seeing an odd behavior. Everything appears to be correctly utf8 encoded. I am pulling a string that contains the ® (registered trademark symbol). When I use urlencode on the RHEL apache server it comes out as %C2%AE when I do it on the WAMP server on windows it comes out as %E2%AE.

Now I do not know why I am getting the first character at all, but the RHEL encoding matches the stored database version of ® while the WAMP version does not. Any ideas why?

Sorry, only registered users may post in this forum.