XML encoding to iso88591

Claire,

The attached IS package contains a single java service that shows one method for encoding an input string using a different charset.

See [url=“UTF-8 Sampler”]http://www.columbia.edu/kermit/utf8.html[/url] for sample UTF-8 strings.

Mark

EncodingExample.Zip
EncodingExample.zip (8.4 k)

Mark,

Is it possible that this package only compiles using Java Version 1.4?

We are using Java Version 1.3.1_01 (47.0).

Claire

Claire,

Sorry, my example requires the 1.4 JVM.

Mark

Hi,
I have one problem. i need to convert a document to Xml and then write the xml to a file.
I am using pub.xml:documentToXMLString service to do this.
After getting the xml is there anything which needs to be done before writing it to a file.
Another thing is that can anyone help me with writing to file.how can this be implemented?
Regards
Avinash

Mark,

I have installed your pacakge but was not able to convert the & " ’ to & &qout; &apos. Infact it is not converting anything. It could be that I don’t know the source charset value. My problem is exactly the same as Claire’s. I got a ’ in my XML and I need to convert that to &apos not '.

Can you direct me somewhere.

Cheers,
Ram Challuri