Réf. : Re: [luxor-xul-user] [Luxor] how to use accentuated characters
[email protected] Wed, 22 Oct 2003 10:06:36 +0200
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Denis, Thanks, Adding <?xml version="1.0" encoding="iso-8859-1"?> at the very beginning of the XUL file permit to use the Western European Latin characters. This works fine and is very simple to implement for all specific 8859 standards series (http://alis.isoc.org/codage/iso8859/jeuxiso.en.htm) Best regards Clément BOURDON denis cardon <[email protected]> Envoyé par : [email protected] 21/10/2003 18:52 Veuillez répondre à luxor-xul-user Pour : [email protected] cc : Objet : Re: [luxor-xul-user] [Luxor] how to use accentuated characters Hi Frenchies, Like Gerald was pointing out, xul files are just plain xml and adding an encoding let you add éèïîôöëüùà and all the likes. For instance you may try adding the following line at the very beginning of the xul file: <?xml version="1.0" encoding="iso-8859-1"?> Cheers, Denis --- Gerald Bauer <[email protected]> wrote: > 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 > _______________________________________________ > luxor-xul-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luxor-xul-user ===== ========================= |Denis Cardon, Tranquil I.T. Systems |10 rue du Docteur Bouchard, 49400 Saumur |Tel: +33(0)2.41.67.56.99 |Web: http://www.tranquil-it-systems.fr ========================= __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- 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 _______________________________________________ luxor-xul-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luxor-xul-user