← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #402114]: remove UTF-8 accents from a file

 

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

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 return me 5. 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.