You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Rick Hillegas <Ri...@Sun.COM> on 2009/06/01 15:42:54 UTC

Re: Ask for guide for saving multilingual character in Derby

Crest.Boy wrote:
> Hi Guys: I am one new comer for derby. I tried many times but failed 
> in saving multilingual characters in Derby. I get ? when I want to 
> save Chinese characters. Who can provide one simple guide to save 
> multilingual characters in Derby? It is better to show me step by 
> step. Thanks a lot in advance!
> View this message in context: Ask for guide for saving multilingual 
> character in Derby 
> <http://www.nabble.com/Ask-for-guide-for-saving-multilingual-character-in-Derby-tp23800505p23800505.html>
> Sent from the Apache Derby Users mailing list archive 
> <http://www.nabble.com/Apache-Derby-Users-f93.html> at Nabble.com.
Hello,

Derby's character datatypes are represented internally as Java strings. 
That means that they are sequences of 2-byte unicode characters and are 
therefore multilingual. If you insert character data into a Derby column 
and select it later, you will retrieve from the database exactly what 
you put into it.

It is hard to say anything more without knowing what experiments are 
failing for you. We could probably give you some more advice if you 
could share more information about those experiments.

Thanks,
-Rick