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

-- 
Benoît Minisini

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to