Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Character encoding.


fm86 - 7:04 pm on Apr 19, 2011 (gmt 0)


Servus! :)

Sooo, it's very frustrating... Just to check, I changed the encode of my file to UTF-8 and I couldn't visualize the characters properly. No wonder, that means the file was originally Latin1. I tried to change the encoding of the XML but it didn't work out.

I somehow solved the issue using utf8_encode() but then if I run htmlentities() on the resulting string it's giving the &tilde again. Maybe it works only for latin? Guess I didn't get something very important about character encoding.


Thread source:: http://www.webmasterworld.com/php/4299818.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com