Extracting an UTF8 char number with Tilde [SOLVED]
Posted: Tue Apr 01, 2014 12:31 pm
Hi to all,
I have a field in which there are two UTF8 chars: <ʃ> and <ɑ̃>
I have this script:
If I ask for the FIRST char, it's OK; it returns <643> which is the correct number.
But if I ask for the LAST char <ɑ̃>, and other last chars like <ɛ̃> or <œ̃> or <ɔ̃>, I get always <771> !
Could you explain me what am I doing wrong ?
I notice that the problem occurs always with the "tilde" char...
Thanks in advance.
I have a field in which there are two UTF8 chars: <ʃ> and <ɑ̃>
I have this script:
Code: Select all
on mouseUp
set the useUnicode to true
answer charToNum(the unicodeText of last char of fld "leTest")
...
But if I ask for the LAST char <ɑ̃>, and other last chars like <ɛ̃> or <œ̃> or <ɔ̃>, I get always <771> !
Could you explain me what am I doing wrong ?
I notice that the problem occurs always with the "tilde" char...
Thanks in advance.