summaryrefslogtreecommitdiff
path: root/ext/tk/sample
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-28 15:09:59 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-28 15:09:59 +0000
commit67a886ceddc7c518da9c4ad0ce2eec720b86b80c (patch)
treefe42efecc9a38fd36d501a87bb5bb375ee1d2bed /ext/tk/sample
parent672fe8315de7ad5e4bab03d07f5fce36b85218a8 (diff)
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
Diffstat (limited to 'ext/tk/sample')
-rw-r--r--ext/tk/sample/resource.ja10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/tk/sample/resource.ja b/ext/tk/sample/resource.ja
index a61390f..59d4ffa 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"}