When a rails' template contains non-ascii, utf-8 character, rbx throws error ActionView::WrongEncodingError even though it works in mri.
steps (assuming latest bundler and rails):
I second on the issue, having same problem. To reproduce, insert any non latin characters into your ERB or HAML view. For example: "Привет, чуваки". This issue is a real blocker, because it prevents any non English speakers from using Rails at all! The only thing that helps is to move all string literals into locale files, but this is not always possible, for example with legacy projects.
I would gladly fix this issue, but I don't know where to look. Any help would be much appreciated.
Doesn't work for me, too :(
fix it please!
I wonder why nobody cares about this issue, if the issue is not with rubinius, but with other gems, let us know, we really need this one, but it seems it goes unnoticed.
We care about this issue, but it requires we have more encoding stuff ready, @brixen is working hard on that.
Encode IO#read results. Fixes #1818.
@Valve @IliaForm @dizer @ognevsky thanks for your patience, folks, encodings are an extremely complicated part of Ruby that touches almost everything internally. We're getting there.
@brixen thank you for fixing this.
@Valve you're welcome! I'm still working on a few encoding issues but please let us know if you run into anything.