From: Peter Krantz Date: 2006-07-28T06:06:56+09:00 Subject: Newbie question: Working with iso-8859-1 files in Ruby Hi! I am trying to load and parse text files with various encodings. Some are iso-8859-1, some are pure ASCII and others utf-8. None of them contain characters not available in iso-8859-1. What is a good strategy to use when working with the standard string methods in Ruby on these files? Upcase, for example, seems to ignore higher order characters in iso-8859-1. In irb: > s = "hell�" > s.upcase == "HELL�" => false Kind regards, Peter