1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ayumin 2011-09-08 16:24:43 +00:00
parent 05558e04b8
commit d53e9c1e84
4 changed files with 54 additions and 47 deletions

View file

@ -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')