Hello all. I am trying to extract from ch1 the 7990. Comparing strings are the same, but ch[0] gives 7990, but ch1[0] not. How is that? (windows xp Greek version and codeblocks).
Sorry 225, true...
225,188, but not 182 on screen. But how to take the 7990 from ch1? And why ch gives 7990 and ch1 not(ch are the same whith ch1)?
I am trying to take a unique number for a word as key in a map, but i dont know how.
No. Your compiler is taking the UTF-8-encoded source file and reading each of the bytes that make up the Unicode character ἶ as though they were individual character, so the string doesn't compile to L"ἶ". It compiles to L"á¼¶". If you want it compile regardless of the encoding the source file is in, replace the string with L"\x1F36". 1F36 is decimal 7990 in hexadecimal.
By the way, you've been playing around with this stupid character for quite a few weeks, now. You should have mastered Unicode, by now.
You have give me great help to undrestud. Thank's. But i have the problem because that i have as input is the L"ἶ" and the resault i must have 7990.
Like giveWStringFromASCII gives the wstring from i, now i must make the reverce.