From: Yukihiro Matsumoto Date: 2009-02-26T01:23:15+09:00 Subject: [ruby-core:22468] Re: [Question]utf-8 data contains BOM - by intention or by accident? Hi, In message "Re: [ruby-core:22464] Re: [Question]utf-8 data contains BOM - by intention or by accident?" on Wed, 25 Feb 2009 21:03:12 +0900, Wolfgang N�dasi-Donner writes: |There were discusions about this point end of 2007, but several encoding |related things were changed. I think it is a good idea to leave utf-8 |BOM handling to the programmer, because otherwise some handling should |be available for the other Unicode encodings too. There's no chance to add direct UTF-8 BOM support in encoding, but we have a plan to add options to open() to ignore leading BOM in UTF-8, as well as treating newlines universally. matz.