AW: [jdom-interest] Special Characters and JDOM
Wolfgang Werner
wwerner at picturesafe.de
Tue Jul 25 08:09:30 PDT 2000
Hi,
there is a encoder class in the jdk, I think. Why dont you
specify the used encoding in the xml file, eg.
<?xml version="1.0" encoding="ISO-8859-1" ?>
and you're done without conversion?
Wolfgang Werner
> -----Ursprüngliche Nachricht-----
> Von: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]Im Auftrag von Christian Bühler
> Gesendet: Dienstag, 25. Juli 2000 15:55
> An: Herr Reto Stahel; jdom-interest at jdom.org
> Betreff: [jdom-interest] Special Characters and JDOM
>
>
> Hi there
>
> I have problems with special Characters like ä,ö,ü ...
>
> I woult like to write something like this
>
> Element rootElement = new Element("root");
> Document domOut = new Document(rootElement);
> rootElement.setContent("für ein Eis öffne ich");
>
> and there should be an output like this;
> <root>für ein Eis öffne ich</root>
>
> Is there a possibility to get the convertion automatic.
>
> Thanks
> Cliff
>
>
> Obtree Consulting Inc.
> Christian Bühler
> Badenerstrasse 808
> 8048 Zürich
>
> Telefon: +41 (0)1 430 04 50
> Fax: +41 (0)1 430 04 54
> Direktruf:+41 (0)1 430 04 81
>
> mailto:christian.buehler at born.ch
> http://www.born.ch
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yourad
> dr at yourhost.com
>
More information about the jdom-interest
mailing list