noreply at rubyforge.org
2009-Feb-04 13:57 UTC
[wxruby-development] [ wxruby-Bugs-23814 ] Strings should allow embedded NUL characters
Bugs item #23814, was opened at 2009-02-04 13:57 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23814&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Strings should allow embedded NUL characters Initial Comment: Both the String class in Ruby, and the wxString class in wxWidgets permit embedded nul (\x00) characters. However the in and out typemaps currently use a shorter form to convert between the classes, which will truncate these strings to the first NUL character. In some cases this may not be fixable within wxRuby - eg the wxStyledTextCtrl wrapper uses conversions that are NUL-unsafe to return text. See: http://rubyforge.org/pipermail/wxruby-users/2009-January/004496.html ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=23814&group_id=35