Reply to non-utf characters and XML

Your name:

Reply:


Posted by Toine on 11/08/07 06:02

Hello,

My problem:
I'm using PHP to dynamically create an XML document. However, some of
my data (from MySQL) contains non-UTF characters such as the umlaut.
Naturally, browsers like IE 7 throw an error when attempting to parse
these characters. I understand that these characters are invalid for
XML.

My question:
What is the best to handle these characters when creating XML
documents on the fly? It seems like searching and replacing these
characters would be complicated, and there must be an easier way.

Thanks!

[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

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