[Gambas-user] Bug in string handling

Fabien Bodard gambasfr at ...11...
Mon Sep 12 21:34:22 CEST 2005


Le Lundi 12 Septembre 2005 23:40, Yankee a écrit :
> 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.

http://www.binara.com/gambas-wiki/bin/view/Gambas10/GbStringMLen

You know there is a doc i too part : on internet, on the gambaside... See in 
your doc first :)

Regards,
Fabien

> 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
>
> -------------------------------------------------------
> 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