Reply to Weird chars when parsing with SimpleXML

Your name:

Reply:


Posted by Sebastian Araya on 12/06/05 01:25

Hello,


I'm using php-5.0.5-pl3; I've created a collector class which
populates itself with DOM's nodes from every object which needs to
output data. So, at the end of the process, the collector has every
piece of the result in a XML document.

After this, I need to process the XML document according to the user
document request (HTML, XML, Excel, etc.); to accomplish this, I'm
using a SimpleXML to parse every node and reinterpret it.

I've successfully accomplish HTML transformation, but I've trouble
with Excel because some numeric entities aren't translated properly.
For example:

Importación (Importación) is translated to Importación
Acuática (Acuática) is translated to Acuática
España (España) is translated to España
....
and so on.

Is there any function to translate properly the accuted vocals ??

Thanks in advance!


cbi.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация