Issue #6679 has been updated by naruse (Yui NARUSE).


????????? wrote:
> 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.

Benchmark by yourself, and if it shows performance impact, please report it.

----------------------------------------
Feature #6679:  Default Ruby source file encoding to utf-8
https://bugs.ruby-lang.org/issues/6679#change-28346

Author: claytrump (Clay Trump)
Status: Assigned
Priority: Normal
Assignee: naruse (Yui NARUSE)
Category: 
Target version: 


Let's change the default encoding for Ruby source files from US-ASCII
to UTF-8 in Ruby 2.0

??? Convention over Configuration
??? Ruby 1.9 forced encoding for code that was not pure ASCII, so
existing codebase already has magic comments.


In Ruby 2.0, "# encoding: utf-8" can be the default.
--
<lay trum/>


-- 
http://bugs.ruby-lang.org/