View Single Post

   
  #6 (permalink)  
Old 02-27-2008, 07:42 AM
socrates73@yahoo.com
 
Posts: n/a
Default Re: Storing Japanese characters in UTF-8 database

Is there any way in which you can change the character semantics for
the field? In particular, I know in oracle you can define a fields data
type to either use byte or character length semantics:

A) varchar2(120 BYTE)
B) varchar2(120 CHAR)

Where A is 120 bytes and B is 120 characters?

Also, just out of curiosity if I were to attempt to load a UTF-16
character into a field in a UTF-8 database should I expect DB2 to use 8
bytes for this?

Reply With Quote