![]() |
|
#1
|
|||
|
|||
XML parser in PHP5Hi,
I have a "little" problem with PHP5 and XML. The problem is when I parse XML via PHP5 the result output is without non-US Ascii letters; example of XML file: <something>blabla 'some non-US Ascii letter (examp.:some chinese letter)'</something> How to solve this?In XML file I used UTF-8 encoding in function xml_parser_create I choosed UTF-8 encoding also but result is bad! Exactly I need use Windows-1250 encoding (for Czech language). In PHP4 is no problem with this, problem is only in PHP5 (last stable release - 5.0.1). And next problem is when I want to parse this: <something> bla <bla> bla </something> (I used entities for < and > (but in this forum is automatically translate into character) but PHP5 XML parser still thinks that is start of new tag) and I want this output: bla<bla>bla but in PHP5 output is bla and nothing more. Why? Please help me if u know, thx very much |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help in writing a parser program | nkhambal | C Programming Language | 0 | 02-Aug-2004 21:06 |
| problem with php5 cgi installation | fab13 | Apache Web Server Forum | 3 | 19-Nov-2003 09:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The