Subject Re: Character set problems? "?????" instead real data...
Author spritable
Sorry for beening such a lame, but can you explain me how actualy to
do what you told me?

What do you mean by new release? How to specify lc_type and charSet
actualy?

About JVM you told me execute "java -Dfile.encoding=Cp1252
$CLASSPATH com.mycompany.MyClass"... "com.mycompany.MyClass" is my
class path right? because when i execute it, it gives me exeption...

thanks very much again...

--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@a...> wrote:
> > 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