summaryrefslogtreecommitdiff
path: root/haiku
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-10-16 21:44:23 -0600
committerKarl Williamson <public@khwilliamson.com>2013-10-16 22:17:09 -0600
commit2430372414b6a23811d2683eed43009456f4f8ea (patch)
treef89748049b00cc82253e7c2993c1e9e45fb9a638 /haiku
parentcb4e82463ea6b3435de7bb0b1973c230d010b6c3 (diff)
downloadperl-2430372414b6a23811d2683eed43009456f4f8ea.tar.gz
Change mktables output for some tables to use hex
This makes all the tables in the lib/unicore/To directory that map from code point to code point be formatted so that the mapped-to code point is expressed as hexadecimal. This allows for uniform treatment of these tables in utf8.c, and removes the final use of strtol() in the (non-CPAN) core. strtol() should be avoided because it is subject to locale rules, and some older libc implementations have been buggy. It was used because Perl doesn't have an efficient way of parsing a decimal number and advancing the parse pointer to beyond it; we do have such a method for hex numbers. The input to mktables published by Unicode is also in hex, so this now conforms to that convention. This also will facilitate the new work currently being done to read in the tables that find the closing bracket given an opening one.
Diffstat (limited to 'haiku')
0 files changed, 0 insertions, 0 deletions