Re: Encoding about GetString method of DataReader



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.

On Wed, 29 Mar 2006 20:15:16 +0900, Zhou Peng <zhphust@xxxxxxxxx> wrote:


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.




--
Tony Zhou
.



Relevant Pages