https://bugs.freedesktop.org/show_bug.cgi?id=43740

--- Comment #3 from sanada <yujis...@gmail.com> 2012-01-22 17:30:46 PST ---
I explain it with java as an example.

if treat letter of the surrogate pair, any letter is type of 'char'.
In contrast , any letter of the surrogate pair have to treat type of 'int'.


if count number of letters of string of characters,
former is String.length(), the latter is String.codePointCount(beginIndex,
endIndex).


http://d.hatena.ne.jp/t_gaisho/20101112/p1



However, that sure to use java.text.BreakIterator when closely count about the
latter.

http://d.hatena.ne.jp/t_gaisho/20101124/p1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to