Re: [xml] Internationalization issue

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Jul 19 2000 - 16:48:05 EDT


On Tue, Jul 18, 2000 at 04:04:23PM +0300, Vjacheslav Chekushin wrote:
>
> 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.

  Prerequisite: are you using 2.2.0 ? If not upgrade, if yes
can you send me a copy of your input, I'm surprized.

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
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