Having issue getting html ascii out of xml file
Posted: Sat Apr 28, 2007 1:22 am
I am developing a site that will be in both Chinese and English. I am dynamicly putting content on to the page with the use of xml files. In the xml the chinese characters are encoded like 第 . The issue I am having is that when I pull this out of the xml, php encodes it to the symbol and puts it on the page. I don't want the symbol I want the html ascii that creates the symbol to print. This way the chinese and english can exist on the same page without trying to find a encoding type. If I encode for Chinese the English fonts are messed up and if I do it the other way the chinese is messed up. If I can get the 第 to print on the page they both look perfect.
hope someone can help with this
Just a note after submiting this the ascii codes got converted to symbols. the ascii code should be "& # 3 1 5 3 2 ;" without spaces of course.
hope someone can help with this
Just a note after submiting this the ascii codes got converted to symbols. the ascii code should be "& # 3 1 5 3 2 ;" without spaces of course.