Mouhannad Oweism wrote:
James Byrne wrote:
James Byrne wrote: Take a look at iconv. Peak Obsession
Thanks for the link James. This way can help in translating this:
puts Iconv.new('UTF-8', 'UTF-8').iconv("fran\xC3\xA7ais").inspect => français
However what I am interested in is
conv = "français".to_yaml
puts Iconv.new('UTF-8', 'UTF-8').iconv(conv).inspect => NOTHING HAPPENS
Any suggestions?
This is a bug in Ruby's YAML parser