From: Perry Smith Date: 2012-07-23T22:57:33+09:00 Subject: [ruby-core:46655] Re: [ruby-trunk - Feature #6679] Default Ruby source file encoding to utf-8 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: > > Issue #6679 has been updated by mame (Yusuke Endoh). > > > Clay Trump, > > I'm happy to inform you that matz has (basically) accepted your > proposal. > > But not that the decision may be cancelled if the compatibility > impact is considered serious. > Naruse-san will implement and experiment it. > > -- > Yusuke Endoh > ---------------------------------------- > Feature #6679: Default Ruby source file encoding to utf-8 > https://bugs.ruby-lang.org/issues/6679#change-28316 > > 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. > -- > > > > -- > http://bugs.ruby-lang.org/ >