summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanosch Mùˆller <janosch84@gmail.com>2023-04-13 20:43:06 +0200
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-12 14:15:47 +0900
commitb742fb029d7d24f032c606cb72065b698db1aed6 (patch)
tree1b7cf562751c750581f0a3b8d787df6ae264e1d6
parenta19fa9b2bd94097e973fbdca48722c80b4d9b19f (diff)
downloadruby-b742fb029d7d24f032c606cb72065b698db1aed6.tar.gz
[DOC] Update how to run tool/enc-unicode.rb
-rwxr-xr-xtool/enc-unicode.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb
index db47c00c61..3fdbe71634 100755
--- a/tool/enc-unicode.rb
+++ b/tool/enc-unicode.rb
@@ -5,10 +5,13 @@
#
# To use this, get UnicodeData.txt, Scripts.txt, PropList.txt,
# PropertyAliases.txt, PropertyValueAliases.txt, DerivedCoreProperties.txt,
-# DerivedAge.txt and Blocks.txt from unicode.org.
+# DerivedAge.txt, Blocks.txt, emoji/emoji-data.txt,
+# auxiliary/GraphemeBreakProperty.txt from unicode.org
# (http://unicode.org/Public/UNIDATA/) And run following command.
-# ruby1.9 tool/enc-unicode.rb data_dir > enc/unicode/name2ctype.kwd
+# tool/enc-unicode.rb data_dir emoji_data_dir > enc/unicode/name2ctype.kwd
# You can get source file for gperf. After this, simply make ruby.
+# Or directly run:
+# tool/enc-unicode.rb --header data_dir emoji_data_dir > enc/unicode/<VERSION>/name2ctype.h
while arg = ARGV.shift
case arg