[jdom-interest] Special Characters and JDOM

Christian Bühler christian.buehler at born.ch
Tue Jul 25 06:55:08 PDT 2000

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&#252r ein Eis &#246ffne ich</root>

Is there a possibility to get the convertion automatic.


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

More information about the jdom-interest mailing list