[Gambas-user] TextArea and the NUL byte
Tobias Boege
taboege at ...626...
Thu May 7 19:38:48 CEST 2015
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
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textarea-nul-0.0.1.tar.gz
Type: application/octet-stream
Size: 3890 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150507/afa66b0e/attachment.obj>
More information about the User
mailing list