This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with unicode strings in dynamic jsps

ralph johnson
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to display unicode characters in my jsp web pages. It works well with <% String test="\u00fe\u00ea"; %> <%=test %>. But now I try to get this same 'test' value from database and display in my jsp.

1) I'm using postgres and
2) I simply insert into the database using - insert into mytable( test ) values('\\u00fe\u00ea').
3) I used -E UNICODE when I created my i18n database.
4) **problem**
when I read the value from the database the output is just the normal string with each unicode caracter represented as normal string of 6 character length(\uxxxx)
Any Suggestions or comments?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic