Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Accessing character set information (no replies)

$
0
0
Looking through the variable inspector I can see that a MySqlDataReader has access to the character set a certain field is (utf8, latin..., it's a property called CharacterSetIndex inside MySqlField) but I don't see any direct way of accessing any of the MySqlFields through the MySqlDataReader, just the converted data.

Is there any way to access the character set that doesn't require reflection? The encoding of the original data is important as it has to be re-encoded to be sent through a network socket and sometimes specific encodings are required for the data to be properly parsed on the other side of the socket.

Thanks in advance.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>