Re: [Luxor] how to use accentuated characters

Gerald Bauer <[email protected]> Tue, 21 Oct 2003 08:14:36 -0700 (PDT)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Salut Clement

> How may I use international and/or accentuated
> characters with LUXOR ?
> I need it for French Translation in Tooltips and
> some other tags.
> 
> When using it in Label or tooltip I got an error
> message like this
> 
> xul error: failed to parse xul document 'buffer':
> org.jdom.JDOMException: 
> Error on line 1 of document ASCII: Erreur de
> conversion de caractère : 
> "Malformed UTF-8 char -- is an XML encoding
> declaration missing?" (le 
> numéro de ligne peut être trop bas).
> 
> This error comes from luxor.core.load on line 57
>          Document doc = builder.build(in);
> which invoke the parser in SaxBuilder from class 
> org.apache.crimson.parser.Parser2
> 
> Thanks in advance for your help

  You might search the luxor-xul-user mailinglist for
answers on how to use "international" characters
outside 7bit-ASCII. 

  As far as I can tell it's just a general XML
encoding issue. You might either change the encoding
in the XML prolog or encode your "internation"
characters in UTF-8.

  - Gerald


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54