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

Alias encoding problem (no replies)

$
0
0
I'm working on a program migration from mssql to mysql. This program was using an aliases in russian. Here is the example:

>> Select person.lastname as 'Фамилия', person.firstname as 'Имя'...

It allows to skip the manual column naming for datagrids which is pretty handy. However, when the same command is passed to MySQL is returns a column names in UTF-8, re-encoded to the default encoding of my database - cp1251. For example, 'Фамилия' is returned as 'Фамилия'.

Are there anything i could change in MySQL settings to make it working right?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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