Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODBC and UTF8 charset

926113Apr 10 2012 — edited Apr 25 2012
Win7 x32
Oracle XE 11g

How to set a UTF8 charset?

My script is connecting via PDO ODBC: Driver={Oracle in XE};Dbq=mydb;Uid=user;Pwd=psw;

The registry NLS_LANG is set to AMERICAN_AMERICA.AL32UTF8

Windows locale is set to US.

When I insert word "тест" it looks like "тест" in DB.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2012
Added on Apr 10 2012
21 comments
14,937 views