converting html entity to utf-8 character

I am having this problems in grails where I am writing a string from the database into an xml file using StreamingMarkUpBuilder. The xml file displays the string as htmlentities &#x30b3 &#x30d4 &#x30fc, how can I convert them to be printed as コピー?

Thanks!

Answers


I found a solution for this, I used OutputStreamWriter instead of FileWriter to enfored encoding to UTF-8


Need Your Help

attached file is coming blank on upload button

c# asp.net file-upload

I am checking a filename after clicking on upload button. But it is coming blank and giving me error as

How to use modeshape for many users

java jcr modeshape

currently I'm wondering how do I manage a large number of users in modeshape that have their own data (with almost nothing shared).