Stanley Bradbury wrote:
Nurullah Akkaya wrote:
if i try to store a string in a char or varchar column what encoding
does derby uses my vm or something else? i am trying to store
international strings(utf-8 encoding).
Nurullah Akkaya
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Blooby.com
Tel: +1 (256) 270 4091
Hi -
Derby stores data in a modified UTF-8 format without encoding
information.
Note that a derby application should in no way "know" about, or code
depending on this information. The internal storage format of the
characters is private to the implementation and may change in the
future. Whatever the storage format, it will continue to be able to
store java "char" which is a 16 bit datatype.
The encoding is used to display the data and is managed by
the UI which generally uses the encoding of the VM, however, some UIs
allows this to be overridden - for instance when using IJ you can set
the following:
derby.ui.codeset
Function
Set this property to a supported character encoding value when using one
of the Derby
tools with a language not supported by your default system.
See the Tools Guide for more information.