ISO-2022-CN-EXT
On Wednesday, March 26, 2003, at 12:21 PM, David Shelley wrote:

I'm running into a similar problem. Our XML feed occasionally has Chinese characters in it.
Is there an ISO encoding that supports both Latin and Chinese character sets?
?
Dave

-----Original Message-----
From: Phil Wade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 6:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Error DOM with international Charaters on MacOSX

Christian,
Try adding an xml header to the DOM which sets the character set to Latin-1 like this:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<@ASSIGN request$apoDOM VALUE="<@DOM VALUE='<?xml version="1.0" encoding="ISO-8859-1" ?><TEST><NAME>König</NAME></TEST>'>">

Latin1 covers most West European languages, such as French (fr), Spanish (es), Catalan (ca), Basque (eu), Portuguese (pt), Italian (it), Albanian (sq), Rhaeto-Romanic (rm), Dutch (nl), German (de), Danish (da), Swedish (sv), Norwegian (no), Finnish (fi), Faroese (fo), Icelandic (is), Irish (ga), Scottish (gd), and English (en), incidentally also Afrikaans (af) and Swahili (sw), thus in effect also the entire American continent, Australia and much of Africa. ?Latin1 is also the same as the first page of ISO 10646 (Unicode).

Using a combination of the setting the dom’s encoding and ![CDATA[]] you should be able to store any character data from any charset in a witango DOM variable including multi byte charsets.

Phil

On 26/3/03 6:23 PM, "Christian Platt" <[EMAIL PROTECTED]> wrote:

> Hi all , for me DOM seems to be buggy
>
> this works
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM
> VALUE='<TEST><NAME>Koenig</NAME></TEST>'>" SCOPE="request">
>
> this not (An error occurred while parsing the XML.)
>
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM
> VALUE='<TEST><NAME>König</NAME></TEST>'>" SCOPE="request">
> and ?it does not work to use html encoded result (does not work)
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM
> VALUE='<TEST><NAME>K&ouml;nig</NAME></TEST>'>" SCOPE="request">
>
> I do not think that xml says that you must not use international
> charaters...
>
> Any idea?
>
> Christian
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> ??????????????with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body

Reply via email to