utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

commit eefdaed21807c73905419e341277785fe80fb824
parent 6a7f92da641360fe4c0bb37288982f72d211db7b
Author: Steven G. Johnson <stevenj@alum.mit.edu>
Date:   Thu, 25 Jun 2015 19:15:57 -0400

sort keys to try to eliminate data dependence on Ruby version

Diffstat:
Mdata/data_generator.rb | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/data_generator.rb b/data/data_generator.rb @@ -313,8 +313,8 @@ $stdout << "};\n\n" $stdout << "const utf8proc_int32_t utf8proc_combinations[] = {\n " i = 0 -comb1st_indicies.keys.each_index do |a| - comb2nd_indicies.keys.each_index do |b| +comb1st_indicies.keys.sort.each_index do |a| + comb2nd_indicies.keys.sort.each_index do |b| i += 1 if i == 8 i = 0