Re: [Gambas-user] TextArea and the NUL byte

2015-05-08 Thread Björn Büchel
Am Fri, 08 May 2015 08:33:56 +0200 schrieb Benoît Minisini : > 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

Re: [Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Benoît Minisini
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 str

Re: [Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Benoît Minisini
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

Re: [Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Lewis Balentine
consistency is next to godliness On 05/07/2015 12:38 PM, Tobias Boege wrote: > This is not consistent. > > Regards, > Tobi > > -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-t

[Gambas-user] TextArea and the NUL byte

2015-05-07 Thread Tobias Boege
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.