[jdom-interest] How do I set encoding on blank document

mark.stephens at ukonline.co.uk mark.stephens at ukonline.co.uk
Wed Aug 7 10:07:33 PDT 2002


Fixed thanks! I just needed to understand better what was happening.

MArk

On Wednesday 07 Aug 2002 5:00 pm, you wrote:
> The encoding is set in the XMLOutputter.  So set it on the way out to
> specify how you'd like it encoded as bytes.
>
> For reading data, it's returned as strings so there's no real need to
> bother with encodings.  The builder should have decoded the chars
> already.
>
> -jh-
>
> mark.stephens at ukonline.co.uk wrote:
> > I am using jdom to create a blank document which I then add content to.
> > How can I set the encoding which I want to be used?
> >
> > Alternatively, when I extract data by gettting a list of elements and
> > then reading the attributes/values, how can I choose the encoding for
> > this data (I want ISO8859, not UTF-8).
> >
> > Any advice, please?
> >
> > MArk
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@your
> >host.com




More information about the jdom-interest mailing list