[Lazarus] I cannot use System.Length() to calculate visible width of string, now !
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Thu Jun 19 16:10:23 CEST 2008
On Thu, Jun 19, 2008 at 10:19 AM, Андрей Гусев <ag888 at rambler.ru> wrote:
> Yes. But UTF8Length() is portable between string encodings?
It only works in utf-8 strings
> Solution is clean: i must use check ifdef'ed WindowsUnicodeSupport to
> choice between UTF8Length()/Length(). But maybe it already
> implemented as universal and conventional solution.
Why do you want to support disabled WindowsUnicodeSupport?
--
Felipe Monteiro de Carvalho
More information about the Lazarus
mailing list