← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #402114]: read and write UTF-8 accents words from a file

 

Question #402114 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/402114

Summary changed to:
read and write  UTF-8 accents words  from a file

Description changed to:
How do I get number of Unicode characters in a String?
Given a char[] of Thai characters:

[อ, ภ, ิ, ช, า, ต, ิ]

This comes out in String as: อภิชาติ

String.length() returns 7. I understand there are (technically) 7
characters, but I need a method that would read this word from file and
write into another file wen i want 5 letter word. That is the exact
number of character spaces represented on screen.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.