[Gambas-user] TextArea and the NUL byte

Björn Büchel bjoern.buechel at ...31...
Fri May 8 09:12:06 CEST 2015


Am Fri, 08 May 2015 08:33:56 +0200
schrieb Benoît Minisini <gambas at ...1...>:

> Le 07/05/2015 21:48, Benoît Minisini a écrit :
> > Le 07/05/2015 19:38, Tobias Boege a écrit :
> >> Hi Benoit,
> >>
> >> we had a case where someone stumbled upon the fact that TextAreas
> >> can't deal properly with strings containing the ASCII NUL. In the
> >> attached project, I fill a TextArea with the string "\0some
> >> string" and it gives
> >>
> >>    txtArea.Length           = 12
> >>    String.Len(txtArea.Text) = 0
> >>    txtArea.Text             = Null
> >>
> >> This is not consistent. I already told him to put only printable
> >> characters
> >> into the GUI, but wanted to ask if this would be considered a bug.
> >>
> >> Regards,
> >> Tobi
> >>
> >
> > I think it is a bug in gb.qt4, where conversion between UTF-8 and
> > QT4 strings use intermediate zero-terminated strings. I will check
> > if something can be done...
> >
> 
> Fixed in revision #7061!
> 
> Regards,
> 

goog morning,
can you tell me, whre i get the gambas Version 3.7.1 svn.
i have suse 13.2. but i can find this. I need this to have no brash by
my Webbroser.
Best Regards
B. Buchel




More information about the User mailing list