summaryrefslogtreecommitdiff
path: root/sample/drb/dhasenc.rb
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-08 16:24:43 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-08 16:24:43 +0000
commitd53e9c1e8403edd9855cbb323e7ed3ef84564e8a (patch)
tree3571d8f8a83129aa9e79558d78de8447c07da08a /sample/drb/dhasenc.rb
parent05558e04b824272aea1b351d3e12ad9348ea26f1 (diff)
* sample/drb/README.rd.ja:
* sample/drb/dhasenc.rb: * sample/mine.rb: Change encoding from EUC-JP to UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/dhasenc.rb')
-rw-r--r--sample/drb/dhasenc.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/drb/dhasenc.rb b/sample/drb/dhasenc.rb
index 44e58ce096..1c0c153b5b 100644
--- a/sample/drb/dhasenc.rb
+++ b/sample/drb/dhasenc.rb
@@ -1,4 +1,4 @@
-# -*- encoding: euc-jp -*-
+# -*- encoding: utf-8 -*-
=begin
distributed Ruby --- dRuby Sample Client -- chasen client
Copyright (c) 1999-2001 Masatoshi SEKI
@@ -10,5 +10,5 @@ there = ARGV.shift || raise("usage: #{$0} <server_uri>")
DRb.start_service
dhasen = DRbObject.new(nil, there)
-print dhasen.sparse("本日は、晴天なり。", "-F", '(%BB %m %M)\n', "-j")
-print dhasen.sparse("本日は、晴天なり。", "-F", '(%m %M)\n')
+print dhasen.sparse("ャ翫ぉ", "-F", '(%BB %m %M)\n', "-j")
+print dhasen.sparse("ャ翫ぉ", "-F", '(%m %M)\n')