Subject Re: [Firebird-Java] Character set problems? "?????" instead real data...
Author Roman Rokytskyy
> When I display some data from the database in cyryllic, at the
> browser, it shows me ????? (question marks). Even when i pass from
> one JSP file to another JSP cyryllic data it gives me ????? again
> (in a form for example).
>
> In FAQ of the JayBird they say to put the "-Dfile.encoding=Cp1251"
> parameter to JVM, but first how can I do that in linux?

New release allows you to specify both lc_ctype and charSet parameters. Set
lc_ctype to the default charset of your database (I suspect that is NONE),
and set charSet to Cp1251. It does not matter whether you're on Linux or
Windows.

> How can i pass parameters to Java Virtual Maschine?

java -Dfile.encoding=Cp1252 $CLASSPATH com.mycompany.MyClass

Roman