From: Dave Thomas Date: 2009-01-03T07:36:43+09:00 Subject: Re: 1.8 to 1.9 compatibility On Jan 2, 2009, at 4:24 PM, Marc Heiler wrote: > Maybe someone can do a summary... I myself am struggling with it, > especially the encodings. This gives me headache, for .rb files which > worked flawlessly with ruby 1.8.x now give me US ASCII errors If a file contains any characters with the top bit set, you now have to tell Ruby what encoding that file is in. For example, if you include a utf-8 em-dash (—), you'd need to add the comment # encoding: utf-8 puts "No way—Way!" to the top of the file. Each file in an application can have its own encoding. Dave