projects
/
chise
/
ruby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
i
[chise/ruby.git]
/
tools
/
t1.rb
1
#!/usr/bin/env ruby
2
$KCODE = 'u'
3
$LOAD_PATH.unshift("..")
4
require "chise/char"
5
p "字" # "字"
6
p "字".ucs # 23383
7
p "字".daikanwa # 6942(大漢和番号)
8
p "字".total_strokes # 6
9
p "字".inspect_all # 保有する素性情報を全て出力する