we have an JBoss 7.0.2 Application Server and a Database with an encding AL32UTF8.
All words with german special characters were displayed incorrect. I set the -Dfile.encoding to UTF-8 we changed the NLS_LANG in the Registry (Windows 2003), but nothing works.
I also tried to implement it with stringvar.getBytes and convert it manually to utf-8.
But nothing works.
Wat also is interesting: When i use an SQL-Client on the Server and make an "select * from tab" it is displayed correct. But if i do the same on the client it is displayed also incorrect.
Can someone tell me where i have to search the problem???
I don't know Vaadin, but you need to set your response encoding somehow.
An alternative is to use a servlet filter and use javax.servlet.ServletResponse#setCharacterEncoding(java.lang.String) or javax.servlet.ServletResponse#setContentType(java.lang.String).
|Retrieving data ...|