UTF-8 Japanese character support help

willy

New Member
1) We are using open edge 10.1C01 in AIX sever.
2) We have converted a new database to utf-8 to support Japanese language.
3) We are connecting to aix server using Terminal Emulator softwares (putty or netterm) .
4) Do we require to use shift-jis character encoding? .

Please suggest the client startup parameter(-cpinternal,-cpstream) to be used for Japanese language support
and also please suggest if we need to language (example:-MS Gothic) setting in putty.
 

RealHeavyDude

Well-Known Member
Basically you have two options:
  1. Run everything with UTF-8: All products but the CHUI client support UTF-8. IMHO you need to be aware of the side effects this may have on your character processing as most 4GL functions for character processing are working either on character units or on bytes. So you might need to modify your application code. Most of them provide an additional type option that lets you specify whether you want the function to work on bytes or characters. AFAIK the default is character units for most. Since you talk about putty I think you are running CHUI and if that's the case you can't use UTF-8 as the CHUI client does not support it.
  2. Run everything except the database with the shift-jis code page and OpenEdge does the transformation for you automatically. Again there might be side effects when you have clients that connect with code pages that are not compatible with shift-jis. It that's the case you might end up having clients with different code pages corrupting each others data.
Can't give you an advice for putty though as I am not really familiar with it.

Heavy Regards, RealHeavyDude.
 
Top