[Gambas-user] Bug in string handling

Yankee solex1 at ...1121...
Mon Sep 12 23:40:41 CEST 2005


Hi,

If I use String.Mid, String.Len etc. instead of Mid, Len then string 
handling is correct: String.Len("éáűőú") returns 5.
It seems to be a bug, anyway.

Cheers

Yankee wrote:

> Hi,
>
> I think it's a bug:
> Len("éáűőú") returns 10. It should be 5.
> The same problem occurs using Mid on UTF-8 strings; positioning fails 
> if the string contains "extra" UTF-8 characters like characters can be 
> found in latin2 charset.
> I'm using 1.9.20.
>
> Cheers
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing 
> & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list