[jdom-interest] Problem with JDOM and euro character

Markus Pallo pallo at dig.de
Thu Aug 29 21:30:35 PDT 2002


Hi,

encoding <?xml version="1.0" encoding="ISO-8859-15"?>
this should include the euro symbol.

Markus

On Thursday 29 August 2002 11:58, Arnaud Dupuis wrote:
> Hi,
>
> I have an xml file including euro characters (€) and starting with :
> <?xml version="1.0" encoding="ISO-8859-1"?>
> as it should probably be.
>
> However, my problem is that (JDOM and) SAXBuilder doesn't recognize the
> euro characters and replace them by an unknown character '?' when I do a
>
> String str = sthg.getChild( "Valeur" ).getTextTrim();
>
> and print the str in the console or in a file.
>
> What's wrong and how can I solve it?
> Thanks in advance.
>
>
> NB: I working with the jdk1.4 and the JVM support the € character.




More information about the jdom-interest mailing list