Solved tr() and translated version of sourceText
-
i learn qt from document example.
link textwhy tr("\302\261") stand for +-
Is there anything like ascii that i can search for! -
That's not ASCII. That's UTF-8.
\302\261
is a C's octal escape sequence.\302
octal is0xC2
in hex and\261
is0xB1
hex, so it's a 2-byte UTF-8 sequenceC2B1
mapped to "plus-minus sign".
You can use any unicode table to look it up, for example http://graphemica.com/%C2%B1. -
@Chris-Kawa Thank you, that's exactly what i'm looking for!