From 67a886ceddc7c518da9c4ad0ce2eec720b86b80c Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Mon, 28 Dec 2015 15:09:59 +0000 Subject: Convert euc-jp resource file in Tk sample to utf-8 The sample program assumes the file to be encoded in utf-8 https://github.com/ruby/ruby/blob/02531898987693bd28879c78b3cb660006891186/ext/tk/sample/tkoptdb.rb#L15-L17 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/sample/resource.ja | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext/tk/sample/resource.ja') diff --git a/ext/tk/sample/resource.ja b/ext/tk/sample/resource.ja index a61390f95d..59d4ffaf40 100644 --- a/ext/tk/sample/resource.ja +++ b/ext/tk/sample/resource.ja @@ -1,13 +1,13 @@ -! +! ! see Tcl/Tk's "options" manual for "Database Name" and "Database Class" ! *BtnFrame.borderWidth: 5 *BtnFrame.relief: ridge *BtnFrame.Button.background: wheat *BtnFrame.Button.foreground: red -*hello.text: ˤ -*quit.text: λ +*hello.text: こんにちは +*quit.text: 終了 *BTN_CMD.show_msg: {|arg| print "($SAFE=#{$SAFE} >>>) ";\ - print "ˤϡ #{arg} ΥץǤ";\ + print "こんにちは!! #{arg} のサンプルです.";\ print "(<<< $SAFE=#{$SAFE})\n"} -*BTN_CMD.bye_msg: {print "($SAFE=#{$SAFE} >>>) 褦ʤ顥(<<< $SAFE=#{$SAFE})\n"} +*BTN_CMD.bye_msg: {print "($SAFE=#{$SAFE} >>>) さようなら.(<<< $SAFE=#{$SAFE})\n"} -- cgit v1.2.3