From: "Vít Ondruch" Date: 2009-08-08T00:20:50+09:00 Subject: Re: R1.9 mixed encoding in file James Gray wrote: > On Aug 7, 2009, at 9:47 AM, Vít Ondruch wrote: > > You don't really have to: > It is disturbing that this approach will fail as soon as the file is UTF-16 encoded or it has BOM for UTF-8, etc. Vit -- Posted via http://www.ruby-forum.com/.