summaryrefslogtreecommitdiff
path: root/sample/drb/dhasenc.rb
diff options
context:
space:
mode:
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 44e58ce..1c0c153 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')