snorlax212
1st November 2015, 04:49
Hello. For example, i have QChar storing non-latin symbol:
QChar c = 'г';
I can get unicode num of this, but i need code in Windows-1251 encoding (cyrillic), so it should be 227 (decimal). How can i get it?
And also, i want my program to use this encoding by default when converting between nums and chars.
QChar c = 'г';
I can get unicode num of this, but i need code in Windows-1251 encoding (cyrillic), so it should be 227 (decimal). How can i get it?
And also, i want my program to use this encoding by default when converting between nums and chars.