You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
Hi everyone,
I try to read a UTF8 XML file and parse on PHP target. The file encoding is UTF8 without BOM and the file start with <?xml version="1.0" encoding="UTF-8"?>.
var content:String = File.getContent( "texts_fr.xml" ); var doc:Xml = Xml.parse(content);
The parse method stop to the first accentued character.
var content:String = Utf8.decode( File.getContent( "texts_fr.xml" ) ); var doc:Xml = Xml.parse(content);
The Xml.parse return exception for invalid character.
How to handle UTF8 file with French character on the PHP target?
Thank for answer.
Victor / tokiop
unread,
May 2, 2013, 3:36:23 PM5/2/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
Hi Andre,
didn't test it for xml, and there may be better way (haxe utf8
strings?), but this helped regarding uf8 strings in php :