• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with unicode strings in dynamic jsps

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic