Quote:
Originally Posted by ixtab
hehe... glad you enjoyed it, I inserted it just for you  ! There was no original, this one was made up by myself. Too much effort to get out the russian keyboard, but I guess you'll understand it anyway: "Ya nyemnoshko ponyemayu russkiy yazik. Govoryu ploxo, nu mogu tshitach i ponyemach" :-)
|
Oh, so I've just ruined atmosphere of secret message... Sorry

Nevertheless, it was a хорошая шутка! Повеселила на славу.
(small nitpicking: "не делает" means "it doesn't do [something]". If you wanted to say "it doesn't work [at all]", then it should be "не работает".)
On topic: please, pass output charset into constructor of OutputStreamWriter explicitly (it is second parameter): like
Code:
Writer ow = new OutputStreamWriter(out, "UTF-8");
Here, on Windows, my default Java file.encoding isn't UTF-8 and UTF-8 characters are replaced by "?" in output file. I've managed to overcome it with setting of environment variable "JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8", but passing of explicit output charset into OutputStreamWriter is a better solution.