News for hackers. Stuff that matters.
Re:Helix: Rust and Ruby, Without the Glue by steveklabnik on Saturday May 14, 2016 @11:49PM (#11699319)
Akira Matsuda actually suggested at RailsConf that maybe Rails handling non-UTF-8 encodings was not necessary, and maybe phasing it out was a good idea.

I wasn't present for the talk, just saw his slides.

Re:Helix: Rust and Ruby, Without the Glue by nateberkopec on Sunday May 15, 2016 @09:24AM (#11700806)
Akira was talking about a specific context - view rendering. Which makes sense, who the hell ever renders a view in anything other than UTF-8?

Checking input, however, is a whole 'nother ballgame.

Re:Helix: Rust and Ruby, Without the Glue by steveklabnik on Sunday May 15, 2016 @12:55PM (#11701628)
He was talking about the view layer, that's true. Even then though, your source is likely to be in UTF-8, and Rails' form helpers add

  <form accept-charset="UTF-8">
so these days, the non-UTF-8 usage in Rails apps should be pretty tiny, I would think? It'd be stuff coming from outside of forms.