Encoding about GetString method of DataReader

  • Thread starter Thread starter Zhou Peng
  • Start date Start date
Z

Zhou Peng

Can anybody tell me how SqlDataReader and OracleDataReader process the
encoding of contents from database when it's GetString(or
GetSqlString,GetOracleString) method is called?

I have been annoyed on this issue for several days and searched many
materials but no help.
 
In terms of Oracle as database, I do know what OCI will do when reading
data from Oracle server.
OCI on the client will do a proper byte conversion according to NLS_LANG
setting on data stream from server.
But my question is what will .NET framework do when convert the converted
bytes to Unicoce memory strings?
Is it has any relationship with Windows default code page?

Hope anyone can help me on this annoying issue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top