Sorry for my newbie question, I suppose as I could not find similar questions about encoding.
My case is,
1. Chinese character can be retrieved and updated to/from database with correct encoding in PB app,
2. Chinese character can be retrieved through Web app correctly
3. Chinese character become incorrect encoded when it was updated through Web app
- Test was done by updating fields through data window
My environment is,
1. PowerBuilder 10.5.2
2. PowerServer Web 2015
3. Oracle Server 12c
4. Oracle Client 11g
Please advise for the above finding. Thanks in advance.
For APPEON server, NLS_LANG = AMERICAN.AL32UTF8
For ORACLE DB, we execute below SQL in PB app and Web app,
SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET' ;
PB: AL32UTF8 / WEB: AL32UTF8
select userenv('language') from dual;
PB: AMERICAN_AMERICA.AL32UTF8 / WEB: AMERICAN_AMERICA.AL32UTF8
Any checking I should conduct? Please advise.
I have checked that the table use varchar2 only.
Meanwhile I found Chinese chacter could not be shown correctly through MS-Access, which access DB through ODBC, may this provide us hints on the troubleshooting?
NLS_CHARACTERSET / AL32UTF8
NLS_NCHAR_CHARACTERSET / AL16UTF16