M
M
Maxim2016-08-11 10:01:19
Oracle
Maxim, 2016-08-11 10:01:19

C# Oracle How to solve encoding problems?

When executing the request, I get the characters ???? (inverted) instead of the Cyrillic alphabet
How to solve the problem?

using Oracle.ManagedDataAccess.Client;
...
 string conn = "DATA SOURCE=" + Ip + ":" + Port + "/" + ServiceName + ";PASSWORD=" + Password + ";PERSIST SECURITY INFO=True;USER ID=" + Login;

Upd: DB encoding
NLS_CHARACTERSET WE8MSWIN1252

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2016-08-11
@viqking

See what encoding is in the Oracle database. And in the same write to the database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question