diff options
Diffstat (limited to 'ext/tk/sample/demos-en/README.tkencoding')
-rw-r--r-- | ext/tk/sample/demos-en/README.tkencoding | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/tk/sample/demos-en/README.tkencoding b/ext/tk/sample/demos-en/README.tkencoding index 679b476a08..cca8734a28 100644 --- a/ext/tk/sample/demos-en/README.tkencoding +++ b/ext/tk/sample/demos-en/README.tkencoding @@ -3,27 +3,27 @@ The library 'tkencoding.rb' is obsolete. Functions of tkencoding.rb is already included into Ruby/Tk. ------------------------------------------------- -tkencoding.rbを用いた日本語の表示について +tkencoding.rbユ茯茵腓冴ゃ Copyright (C) 1999/07, Takaaki Tateishi <ttate@jaist.ac.jp> -1. tkencoding.rbとは? +1. tkencoding.rb鐚 -tkencoding.rbはTcl/Tk8.1を利用したRuby/Tkのためのライブラリ -です。tkencoding.rbをrequireすることによってWedgetに表示さ -れるテキストは全てunicode(UTF8)へ変換されます。 +tkencoding.rbTcl/Tk8.1Ruby/Tkゃ +сtkencoding.rbrequirecWedget茵腓冴 +鴻unicode(UTF8)後障 -2. 使い方 +2. 篏帥 -tkencoding.rbをrequireしてTk.encodingで使用している文字コード -を指定して下さい。例えば以下のような感じになります。 +tkencoding.rbrequireTk.encodingт戎絖潟若 +絎筝箴遺札筝障 ---- require 'tk' require 'tkencoding' -Tk.encoding = "euc-jp" +Tk.encoding = "utf-8" # Tk.encoding = "shiftjis" --- |