From: Clifford Heath Date: 2011-02-15T11:05:20+09:00 Subject: Re: Cann't require UTF-8 files. On 02/15/11 10:08, Eric Hodel wrote: > On Feb 14, 2011, at 12:48 AM, Josh Cheek wrote: >> On Mon, Feb 14, 2011 at 2:30 AM, Fernando Perezwrote: >>>> # encoding: utf-8 >>> Is there a way to avoid adding this magic encoding line in each file? >>> That's really a metadata and does not belong to the source code. >> Run with -Ku flag. > This is not a good solution for library code. Right. Is there a good reason why Ruby can't just detect a UTF-8 BOM? It's still "metadata" but a lot of tools deal with it.