Subject | Re: [Firebird-Java] Character set problems? "?????" instead real data... |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-10-11T07:30:40Z |
> When I display some data from the database in cyryllic, at theNew release allows you to specify both lc_ctype and charSet parameters. Set
> 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?
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