From: "F. Senault" Date: 2009-01-15T04:34:07+09:00 Subject: Re: 10 things to be aware of in 1.8 -> 1.9 transition Le 14 janvier 2009 � 20:14, James Gray a �crit : > I also think you need to add a section on this error, which seems very > likely to be the first thing programmers encounter in the new m17n code: Oh yeah. And this : >> require "yaml" => true >> a = "h�h�" => "h�h�" >> b = a.to_yaml => "--- !binary |\naMOpaMOp\n\n" >> c = YAML.load(b) => "h\xC3\xA9h\xC3\xA9" >> c << "h�h�" Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8 from (irb):8 from /usr/local/bin/irb:12:in `
' Fred Who is still having trouble with utf-8 in one of his rails models... -- Aleph-null bottles of beer on the wall, aleph-null bottles of beer. Take one down and pass it around, Aleph-null bottles of beer on the wall... (Ingvar the Grey in the SDM)