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 > DB2 > Japnese characters in utf 8 db

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-08-09, 02:50
jayawant01 jayawant01 is offline
Registered User
 
Join Date: Jun 2008
Posts: 40
Japnese characters in utf 8 db

Hi all,
I have a utf 8 database and want to insert japnase characters in it . Is it possible ? if yes then what are the limitations in doing that .

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-09-09, 01:54
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
have a look in developers work - some articles on this
Setting Up a Mixed-Byte Character Set (MBCS) Database on an English OS in DB2 UDB Version 8
and yes, all languages are supported
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 04-09-09, 02:41
jayawant01 jayawant01 is offline
Registered User
 
Join Date: Jun 2008
Posts: 40
hi , the above article talks about creating mbcs db whose code set is different from utf -8.
Also when i tried to insert a japanaese charcter on the aix prompt it converted into a "?" i also tried using
iconv -f UCS-2 -t UTF-8 jap.csv >conv.csv
this time it converted it into some junk characters
kindly help
Reply With Quote
  #4 (permalink)  
Old 04-09-09, 03:09
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
have a look in dev.work other articles talk about this
the prompt of unix has to be customized to enter characters in specific language. see nls_lang ..
the display of characters is handled by the command prompt settings
in dev.work there is an article how to setup a workstation to support japanes characters
check also this article
http://www.ibm.com/developerworks/da...u/0210lau.html
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be

Last edited by przytula_guy; 04-09-09 at 03:39.
Reply With Quote
  #5 (permalink)  
Old 04-10-09, 01:49
jayawant01 jayawant01 is offline
Registered User
 
Join Date: Jun 2008
Posts: 40
Hi ,
Link to other articles are currently unavailable. Correct me if I am wrong .
I cant see Japnese char untill i change my locale to ja ?
Reply With Quote
  #6 (permalink)  
Old 04-11-09, 03:00
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if your terminal does not support japanese characters, how can you display them otherwise??
the terminal/station needs all support to convert the display to correct character
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #7 (permalink)  
Old 04-12-09, 10:18
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
Quote:
Originally Posted by jayawant01
I can't see Japanese char until i change my locale to ja ?
It could be a matter of installed fonts.
Have a look at the Unibook Character Browser where you will find an application that displays any UTF-8 character, provided it finds the necessary fonts.
If this works, I would suggest using an UTF-8 aware graphical editor like e.g. CoolEdit (http://cooledit.sourceforge.net/), gvim (vim), Emacs, Netscape Composer, or others, to enter and/or read your Japanese text in UTF-8.
If this also works fine, you can be certain that what's stored in DB2 is really what you want it to be, even if it shows up as "?????" or as seemingly junk characters in some interfaces.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
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