Displaying 1 result from an estimated 1 matches for "ascii_8bit".
2010 Apr 19
10
Overview of Ruby 1.9 encoding problem tickets
...of the encodings used for input (db,
Rack, ERB, Haml, ...) in a given environment.
With a optimal setup (db encoding, Ruby encoding, Rack encoding
settings, I18n translations, ...), no transcoding will occur during
the rendering process, no matter what the default Rails encoding is
used (including ASCII_8BIT), and no force_encoding would be needed
internally in Rails, except as workarounds for gems and libraries
where this is difficult otherwise.
The guideline for gem and plugin developers would be: do not create or
return strings (other than internal use) that are not compatible with
the default enco...