[fpc-pascal] Iterator for Unicode encoded strings
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Wed Apr 27 17:02:51 CEST 2016
On 2016-04-27 15:59, Michael Van Canneyt wrote:
> Simply said: No. The character iterator
>
> Will iterate bytes or words, not characters.
OK thanks. So I definitely need the IsSurrogatePair() like function then
- in the case of UTF-16 encoded (UnicodeString) text. Do you know if
such a function exists in the RTL? If not, I'll browse unicode.org to
see what is required for such an implementation.
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list