summaryrefslogtreecommitdiffstats
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
commitaa36cec9b7f7a2e36478a50cf81f55f97c342a62 (patch)
treee534187f3ce6e0fc3fc4879d6455bc3c8bc92636
parent8994c6e4ae5ec18c619febbe067225bbbce864f0 (diff)
downloadruby-aa36cec9b7f7a2e36478a50cf81f55f97c342a62.tar.gz
ruby-aa36cec9b7f7a2e36478a50cf81f55f97c342a62.tar.xz
ruby-aa36cec9b7f7a2e36478a50cf81f55f97c342a62.zip
* sample/drb/dhasenc.rb: add magic comment for encoding.
* sample/mine.rb: ditto. * ext/tk/sample/tcltklib/sample1.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/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 c505827d7..cadf3187d 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 13df44075..196578153 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 8114e9228..2774feba5 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 8fc27e0c6..4ef006685 100644
--- a/sample/mine.rb
+++ b/sample/mine.rb
@@ -1,4 +1,5 @@
#! /usr/bin/ruby -Ke
+# -*- encoding: euc-jp -*-
class Board
def clr