Handling Chinese Character in ODI 12c - oracle-data-integrator

How Should we handle Chinese Character in ODI12c?
While loading data from file to table chinese Characters are loading as ?? at target side I have changed in JDBC url UTF8 but still not able to process Chinese Characters in ODI12c

Your JDBC should contain: useUnicode=yes&characterEncoding=UTF-8.
Example:
jdbc:mysql://localhost:3306/?useUnicode=yes&characterEncoding=UTF-8
It's similar for Oracle, by changing the connection details.

Related

connect mongo database special characters

A buggy software i'm using created a mongo database with a special character in its name.
The database name looks like : "database?authSource=Admin"
I would like to connect to this database "database?authSource=Admin", but this special character is wrongly interpreted by MongoClient.
I have tried to use URI encoding and connect to "database%3FauthSource%3DAdmin", but that does not connect me to the right DB.
How can I connect to a mongo database containing special characters ?

Unable to store special characters in Oracle 11g Database

I am unable to store special characters like ÐǶĄ§å in oracle 11g database, it shows the stored information as ??????. I have used UTF-8 encoding through out, and also checked the database for the supported charactersets using
select * from v$nls_parameters where parameter like '%CHARACTERSET%';
it gives the output
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET AL16UTF16
Is there any way of storing those special characters in database?
Any help would be highly appreciated.
convert them into binary and then store them in bfile

Sybase ASE 12.5 database : arabic data shown in latin letters

Good day,
i have a Sybase ASE 12.5 database on windows NT server
the database default charachterset is CP850
i'm trying to connect to it using "TOAD for sybase" ,which is on my windows 7 machine
whatever character set i choose for TOAD (utf8,cp1256..), the data are shown in latin letters instead of arabic
i tried disabling the "server character set conversion" ,and disabling the client side conversion,but still no hope
any ideas how to solve this?
CP850 is the character set for Western Europe, so that would explain the latin. If the character set used by the client does not match what is used in the server, then it defaults to English.
You need to change the character set of the server to match what you wish to use for the client, or install the UTF character set in the Server to allow Unicode use.
The Sybase ASE documentation explains the details of charactersets.
the problem were in the server itself, it was corrupted during cloning.
thanks for all the answers

Incorrect encoding using jruby with datamapper

I'm trying to get data form a 2008r2 MSSql server using jruby and datamapper.
The only problem I've got this far is correct character coding in jruby.
Database uses Polish_CI_AS collation, testing field is populated with: "ą ę ś ć".
Fetching that field from within jruby results in: "uFFFD uFFFD uFFFD uFFFD" which are default replacement strings for utf-8.
I've tried setting the -E variable to windows-1250, it changes the characters displayed but as in Utf-8 they are displayed in the same manner. Also tried to include # encoding: Windows-1250, but it doesn’t help either.
I’m pretty sure it has something to do with datamapper or the db connection but jdbc does not supports (AFAIK) encoding variables.
UPDATE
My connection string: DataMapper.setup(:default, 'sqlserver://servername/database;instance=InstanceName;domain=DOMAIN')
The connection works well with MS JDBC, datamapper uses jTDS which uses UTF8 encoding as default.
I've checked the jTDS documentation and found that I needed to add: charset=cp1250; property at the end of my connection string. It all works well now.

writing unicode characters to Database using ODBC in MFC Application

I have connected to a database using ODBC in an unicode MFC Application and I am filling the database with some unicode data with the CDatabase::ExecuteSQL(CStringW ...) like below:
CStringW sSql;
sSql.Format(L"INSERT INTO Reports ( %s, '%s')", sField1, sValue1);
m_db.ExecuteSQL(sSql);
but what i actually write into database is some ? characters instead of unicode ones.
Is there any solution to this.
Regards
Make sure your database field is of type NVARCHAR(x).

Resources