30.01.2015, 03:48
Hi all i'm from Thailand. I have one question about color embedding for non-English language(i'm use Thai text).
when I'm use Thai text in dailog,sendClientMessage or other and I embedding some color in string the color is go wrong position same example pic



i'm test many thai word and i think this problem happen from Thai vowel ex : ่ ่ ๊ ๋ when i use Thai vowel color is go wrong position but if i not use vowel color show normally
when use vowel

and not use

how to fix it
ps. sorry for my bad english
when I'm use Thai text in dailog,sendClientMessage or other and I embedding some color in string the color is go wrong position same example pic



i'm test many thai word and i think this problem happen from Thai vowel ex : ่ ่ ๊ ๋ when i use Thai vowel color is go wrong position but if i not use vowel color show normally
when use vowel
Code:
SendClientMessage(pid,-1,"{FF0000}[ป่าป๊า] {FFFFFF}ข้อความ Text blah blah blah ");

and not use
Code:
SendClientMessage(pid,-1,"{FF0000}[ปาปา] {FFFFFF}ข้อความ Text blah blah blah ");

how to fix it
ps. sorry for my bad english