I finally wrote me a small application. This is a desktop application, but it has a built-in web server. When I dined from NetBeans, everything is fine. When I have lunch at the bank, I have the correct character encoding in the GUI, but the output of the web server is damaged ("?" Instead of national characters).
I am using NetBeans 6.7.1, jdk1.6.0_16, http server from Java 6 SE and lib Rome 1.0
I do not put any source code here because I do not know which part I should put.
// edit:
data is hard-coded in Strings. These lines are passed to Rome as arguments to create the RSS nodes, Romes RSS feeds are written to String, and then the lines are passed to HttpHandler.
source
share