1 2 3 4 5 6 7
require 'rexml/encodings/US-ASCII' module REXML module Encoding register("ISO-8859-1", &encoding_method("US-ASCII")) end end