From b10617c3d1c302e03c41fbd8fffdc7a61bf3d1cf Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 16 May 2009 02:00:42 +0000 Subject: [PATCH] * sample/drb/dhasenc.rb: add magic comment for encoding. * sample/mine.rb: ditto. * ext/tk/sample/tcltklib/sample1.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ ext/tk/sample/tcltklib/sample1.rb | 2 +- sample/drb/dhasenc.rb | 1 + sample/mine.rb | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c505827d77..cadf3187d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sat May 16 10:59:54 2009 Yukihiro Matsumoto + + * sample/drb/dhasenc.rb: add magic comment for encoding. + + * sample/mine.rb: ditto. + + * ext/tk/sample/tcltklib/sample1.rb: ditto. + Sat May 16 09:49:05 2009 Nobuyoshi Nakada * parse.y (magic_comment_encoding): ignores unused emacs-style diff --git a/ext/tk/sample/tcltklib/sample1.rb b/ext/tk/sample/tcltklib/sample1.rb index 13df440751..1965781533 100644 --- a/ext/tk/sample/tcltklib/sample1.rb +++ b/ext/tk/sample/tcltklib/sample1.rb @@ -1,5 +1,5 @@ #! /usr/local/bin/ruby -d -#! /usr/local/bin/ruby +# -*- encoding: euc-jp -*- # -d オプションを付けると, デバッグ情報を表示する. # tcltk ライブラリのサンプル diff --git a/sample/drb/dhasenc.rb b/sample/drb/dhasenc.rb index 8114e9228d..2774feba5a 100644 --- a/sample/drb/dhasenc.rb +++ b/sample/drb/dhasenc.rb @@ -1,3 +1,4 @@ +# -*- encoding: euc-jp -*- =begin distributed Ruby --- dRuby Sample Client -- chasen client Copyright (c) 1999-2001 Masatoshi SEKI diff --git a/sample/mine.rb b/sample/mine.rb index 8fc27e0c6d..4ef006685e 100644 --- a/sample/mine.rb +++ b/sample/mine.rb @@ -1,4 +1,5 @@ #! /usr/bin/ruby -Ke +# -*- encoding: euc-jp -*- class Board def clr