projects
/
chise
/
ruby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
81b0ba16271d7bf93daed964711d6cc60198ba57
[chise/ruby.git]
/
tools
/
t1.rb
1
#!/usr/bin/env ruby
2
$KCODE = 'u'
3
$LOAD_PATH << '../lib'
4
require 'chise'
5
include CHISE
6
p "字" # "字"
7
p "字".ucs # 23383
8
p "字".daikanwa # 6942(大漢和番号)
9
p "字".total_strokes # 6
10
p "字".inspect_all # 保有する素性情報を全て出力する