Answer the question
In order to leave comments, you need to log in
Convert character code from unicode to win1251?
Hello!
I get the character code through: QString().number(c.id)
As a result, the character code in Unicode is obtained, for example, the Russian letter A will have a code of 1040, but 192 is needed in win1251.
How can this (QString().number(c.id)) string be converted to get character code 192 and not 1040?
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question