From: "Wolfgang NĂ¡dasi-Donner" Date: 2009-02-25T21:03:12+09:00 Subject: [ruby-core:22464] Re: [Question]utf-8 data contains BOM - by intention or by accident? Martin Duerst schrieb: > I think this has been asked earlier, and I can only repeat it here: > I don't think there are any plans to build in BOM recognition or > removal into file opening. 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.