From: Nobuyoshi Nakada Date: 2007-08-16T17:00:02+09:00 Subject: Re: UTF-8 encoding with BOM under Ruby 1.8.x (Windows) Hi, At Thu, 16 Aug 2007 16:42:55 +0900, =?utf-8?Q?Wolfgang_N=c3=a1dasi=2dDonner?= wrote in [ruby-talk:264857]: > Nobuyoshi Nakada wrote: > > IIRC, no such change has been made in 1.9. > > But it works different in Ruby 1.9: Sorry, I've forgotton that I added it 2 years ago, setting $KCODE to 'u' if the source started with BOM, together with pragma support. -- Nobu Nakada