aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 02:00:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 02:00:42 +0000
commitb10617c3d1c302e03c41fbd8fffdc7a61bf3d1cf (patch)
treee534187f3ce6e0fc3fc4879d6455bc3c8bc92636
parentbeae2288d17080ff8fc025edceeb390d27e90f1a (diff)
downloadruby-b10617c3d1c302e03c41fbd8fffdc7a61bf3d1cf.tar.gz
* 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
-rw-r--r--ChangeLog8
-rw-r--r--ext/tk/sample/tcltklib/sample1.rb2
-rw-r--r--sample/drb/dhasenc.rb1
-rw-r--r--sample/mine.rb1
4 files changed, 11 insertions, 1 deletions
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 <matz@ruby-lang.org>
+
+ * 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 <nobu@ruby-lang.org>
* 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