[Ironruby-core] [0.9] Erb and unicode. EncoderFallbackException.

Ivan Porto Carrero ivan at flanders.co.nz
Mon Aug 24 07:47:12 EDT 2009


As a long shot you can try to use $KCODE="UTF8"
but I cannot guarantee it will work
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)



2009/8/24 mlkjih mlkjih <mlkjih at gmail.com>

> What can I do?
> >>> ERB.new("абв")
> => mscorlib:0:in `GetBytes': Value does not fall within the expected range.
> (System::Text::EncoderFallbackException)
>         from :0
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090824/f740e2c8/attachment.html>


More information about the Ironruby-core mailing list