[xml] Internationalization issue

Date view Thread view Subject view Author view

From: Vjacheslav Chekushin (slava@lmt.lv)
Date: Tue Jul 18 2000 - 09:04:23 EDT


Hi all.
I have some problem with encoding.
I try parse (using xmlParseMemory) file with encoding "CP1257".

I get following stderr:

Unknown encoding CP1257
Registered encoding handler for UTF-8
Registered encoding handler for UTF-16LE
Registered encoding handler for UTF-16BE
Registered encoding handler for ISO-8859-1
Found iconv handler for encoding CP1257
Entity: line 1: error: xmlSwitchEncoding : no input
<?xml version="1.0" encoding="CP1257"?>
                                     ^
Entity: line 6: error: Input is not proper UTF-8, indicate encoding !
    <p align="center"><a href="/wap/windex.cfm">Latvijas Bankas noteiktie valÙt
                                                                             ^
Entity: line 6: error: Bytes: 0xFB 0x74 0x75 0x20
    <p align="center"><a href="/wap/windex.cfm">Latvijas Bankas noteiktie valÙt

But iconv supports CP1257.
What wrong in my case and how can I work with this encoding?
Thank You.

-- 
Vjacheslav Chekushin                                mailto:sck@lmt.lv
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:23 EDT