aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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