blob: cca8734a289b2882e990977a555e05354a9cc419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
This is a original document of 'tkencoding.rb'.
The library 'tkencoding.rb' is obsolete.
Functions of tkencoding.rb is already included into Ruby/Tk.
-------------------------------------------------
tkencoding.rbãç¨ããæ¥æ¬èªã®è¡¨ç¤ºã«ã¤ãã¦
Copyright (C) 1999/07, Takaaki Tateishi <ttate@jaist.ac.jp>
1. tkencoding.rbã¨ã¯ï¼
tkencoding.rbã¯Tcl/Tk8.1ãå©ç¨ããRuby/Tkã®ããã®ã©ã¤ãã©ãª
ã§ããtkencoding.rbãrequireãããã¨ã«ãã£ã¦Wedgetã«è¡¨ç¤ºã
ããããã¹ãã¯å
¨ã¦unicode(UTF8)ã¸å¤æããã¾ãã
2. 使ãæ¹
tkencoding.rbãrequireãã¦Tk.encodingã§ä½¿ç¨ãã¦ããæåã³ã¼ã
ãæå®ãã¦ä¸ãããä¾ãã°ä»¥ä¸ã®ãããªæãã«ãªãã¾ãã
----
require 'tk'
require 'tkencoding'
Tk.encoding = "utf-8"
# Tk.encoding = "shiftjis"
---
|