How to convert persian encode to decimal value?
Solved
Qt in Education
-
Hi. I write a program for mini2440. I want to convert a Unicode Persian character to its decimal value in c++. exactly like this website: https://www.branah.com/ascii-converter.
for example for character 'ف' it returns 1601 decimal value. -
I think that starting from a
QString
, you can use QChar::unicode() method to do the trick.