Re: Witango-Talk: Error DOM with international Charaters on MacOSX

2003-03-26 Thread Phil Wade
Title: Re: Witango-Talk: Error DOM with international Charaters on MacOSX



If you are not sending the xml out to another system and it is used exclusively by your application you can use  and CDATA you can store any character set in the DOM.  The same holds true if the XML is incoming – you can change the encoding setting.  I know this is not the best solution and it is definitely not the correct way of doing it but this is how the DOM parser was built and does seem to work.

We are currently working on updating the XML technologies – no release date yet.



On 27/3/03 4:21 AM, "David Shelley" <[EMAIL PROTECTED]> 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:



<@ASSIGN request$apoDOM VALUE="<@DOM VALUE='König'>"> 

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='Koenig'>" SCOPE="request">
> 
> this not (An error occurred while parsing the XML.)
> 
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM 
> VALUE='König'>" SCOPE="request">
> and  it does not work to use html encoded result (does not work)
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM 
> VALUE='König'>" 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


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


Re: Witango-Talk: Error DOM with international Charaters on MacOSX

2003-03-26 Thread Scott Cadillac
Hi David,

The following URL has a fair amount of information linked to it, which might
be helpful:

http://www.w3.org/International/O-charset.html

Others have reported some mixed results with Asian character sets and
Witango DOM. You may need to do some experimenting.

To date, I haven't had an opportunity to play these other character sets
all, but would like to explore this at some point.

Sorry, not much help I know, but here's hoping. Cheers

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
-

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
-


- Original Message -
From: "David Shelley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 26, 2003 10:21 AM
Subject: RE: Witango-Talk: Error DOM with international Charaters on MacOSX


Re: Witango-Talk: Error DOM with international Charaters on MacOS XI'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:

  

  <@ASSIGN request$apoDOM VALUE="<@DOM VALUE='König'>">

  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='Koenig'>" SCOPE="request">
  >
  > this not (An error occurred while parsing the XML.)
  >
  > <@ASSIGN NAME="apoDOM" VALUE="<@DOM
  > VALUE='König'>" SCOPE="request">
  > and  it does not work to use html encoded result (does not work)
  > <@ASSIGN NAME="apoDOM" VALUE="<@DOM
  > VALUE='König'>" 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


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


Re: Witango-Talk: Error DOM with international Charaters on MacOSX

2003-03-26 Thread Ezra
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:



<@ASSIGN request$apoDOM VALUE="<@DOM VALUE='König'>">

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='Koenig'>" SCOPE="request">
>
> this not (An error occurred while parsing the XML.)
>
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM
> VALUE='König'>" SCOPE="request">
> and ?it does not work to use html encoded result (does not work)
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM
> VALUE='König'>" 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



RE: Witango-Talk: Error DOM with international Charaters on MacOSX

2003-03-26 Thread David Shelley
Title: Re: Witango-Talk: Error DOM with international Charaters on MacOS X



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 
  AMTo: [EMAIL PROTECTED]Subject: Re: Witango-Talk: 
  Error DOM with international Charaters on MacOSXChristian,Try adding an xml header to the DOM which sets the 
  character set to Latin-1 like this:<@ASSIGN request$apoDOM VALUE="<@DOM 
  VALUE='König'>"> 
  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.PhilOn 
  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='Koenig'>" 
  SCOPE="request">> > this not (An error occurred while parsing 
  the XML.)> > <@ASSIGN NAME="apoDOM" VALUE="<@DOM > 
  VALUE='König'>" 
  SCOPE="request">> and  it does not work to use html encoded 
  result (does not work)> <@ASSIGN NAME="apoDOM" VALUE="<@DOM 
  > 
  VALUE='König'>" 
  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




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


Re: Witango-Talk: Error DOM with international Charaters on MacOSX

2003-03-26 Thread Phil Wade
Title: Re: Witango-Talk: Error DOM with international Charaters on MacOS X



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



<@ASSIGN request$apoDOM VALUE="<@DOM VALUE='König'>"> 

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='Koenig'>" SCOPE="request">
> 
> this not (An error occurred while parsing the XML.)
> 
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM 
> VALUE='König'>" SCOPE="request">
> and  it does not work to use html encoded result (does not work)
> <@ASSIGN NAME="apoDOM" VALUE="<@DOM 
> VALUE='König'>" 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