If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > ISO8859-4 JDBC for latvian characters - how does it work???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-03, 07:20
meckymesser69 meckymesser69 is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
ISO8859-4 JDBC for latvian characters - how does it work???

Hello,

I have a problem in showing adresses from customers in the database correctly on the java-client over jdbc.
If i use dbaccess with the terminal putty and the characterset 8859-4, I can see all the special characters correctly.
How can I use the ISO8859-4 over JDBC connection? I tested it with DB_LOCALE and CLIENT_LOCALE but I get an error message, if I use another then en_US.8859-1: "Unable to load locale categories"
Why is it with "putty" so easy (without DB_LOCALE,CLIENT_LOCALE set) and over JDBC or JAVA so hard to understand?
Is there anybody out there who can give me a hint, please?
Or an example for jdbc-connection for another special country?

Best Regards,

Juergen
Reply With Quote
  #2 (permalink)  
Old 12-30-03, 09:13
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: ISO8859-4 JDBC for latvian characters - how does it work???

Quote:
Originally posted by meckymesser69
Hello,

I have a problem in showing adresses from customers in the database correctly on the java-client over jdbc.
If i use dbaccess with the terminal putty and the characterset 8859-4, I can see all the special characters correctly.
How can I use the ISO8859-4 over JDBC connection? I tested it with DB_LOCALE and CLIENT_LOCALE but I get an error message, if I use another then en_US.8859-1: "Unable to load locale categories"
Why is it with "putty" so easy (without DB_LOCALE,CLIENT_LOCALE set) and over JDBC or JAVA so hard to understand?
Is there anybody out there who can give me a hint, please?
Or an example for jdbc-connection for another special country?

Best Regards,

Juergen
Hi Juergen,

I do not be sure but test with export DBNLS=[0|1|2], then run dbaccess.

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On