Hi! I'm struggling with a weird error - I have a string filled up with binary data, and when I ask .length to it, CLR raises an exception telling it could not convert from specified charset to unicode. Is there any place to inform ironruby to use the "none" encoding for such strings? (as like MRI 1.8 works) - It's a bug, a feature? IronRuby 1.0 (.net 2.0) Thanks! Douglas Campos (qmx) douglas@theros.info +55 11 6762 5959
on 2010-06-29 06:22
on 2010-06-29 06:27
Could you please send a snippet of code or a file that demonstrates the problem? Tomas
on 2010-06-29 06:40
Thanks for the fast response https://gist.github.com/cb0450e5b2cb714a0ce8 HTH On Jun 29, 2010, at 1:27 AM, Tomas Matousek wrote: > Hi! > +55 11 6762 5959 > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core Douglas Campos (qmx) douglas@theros.info +55 11 6762 5959
on 2010-10-04 23:58
Douglas Campos wrote: > Hi! > > I'm struggling with a weird error - I have a string filled up with > binary data, and when I ask .length to it, CLR raises an exception > telling it could not convert from specified charset to unicode. Is there > any place to inform ironruby to use the "none" encoding for such > strings? (as like MRI 1.8 works) - It's a bug, a feature? > > IronRuby 1.0 (.net 2.0) > > Thanks! > > > Douglas Campos (qmx) > douglas@theros.info > +55 11 6762 5959 I have also had some issues with MutableString not support the IConvertable Interface used by the Convert C# class.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.