If this seem to be too large of a performance impact, please consider =
making it a configuration option.

Making it a configuration option may be nice anyway.

On Jul 23, 2012, at 8:44 AM, mame (Yusuke Endoh) wrote:

>=20
> Issue #6679 has been updated by mame (Yusuke Endoh).
>=20
>=20
> Clay Trump,
>=20
> I'm happy to inform you that matz has (basically) accepted your
> proposal.
>=20
> But not that the decision may be cancelled if the compatibility
> impact is considered serious.
> Naruse-san will implement and experiment it.
>=20
> --=20
> Yusuke Endoh <mame / tsg.ne.jp>
> ----------------------------------------
> Feature #6679:  Default Ruby source file encoding to utf-8
> https://bugs.ruby-lang.org/issues/6679#change-28316
>=20
> Author: claytrump (Clay Trump)
> Status: Assigned
> Priority: Normal
> Assignee: naruse (Yui NARUSE)
> Category:=20
> Target version:=20
>=20
>=20
> Let's change the default encoding for Ruby source files from US-ASCII
> to UTF-8 in Ruby 2.0
>=20
> =95 Convention over Configuration
> =95 Ruby 1.9 forced encoding for code that was not pure ASCII, so
> existing codebase already has magic comments.
>=20
>=20
> In Ruby 2.0, "# encoding: utf-8" can be the default.
> --
> <lay trum/>
>=20
>=20
> --=20
> http://bugs.ruby-lang.org/
>=20