PDA

View Full Version : output encoding using ruby in eclipse


adad
February 4th, 2008, 05:01 PM
Hi,
I am trying to output an xml tag into a text file.

the xml file contains characters like the £ sign.

Is there any way to set the output encoding in eclipse to render this correctly?

thanks.

adad
February 25th, 2008, 04:40 PM
For any one who is interested.

In Eclipse,
open debug dialog.
click on the common tab.
select the console encoding as utf-8
seems to work for £.
:)