mkunidata.rb

Path: tools/mkunidata.rb
Last Update: Thu Mar 15 08:14:55 +0000 2012

if $KCODE != ‘UTF8‘

  raise "$KCODE must be UTF8"

end

Methods

Constants

HEAD = <<EOS /* * UnicodeData * Copyright 1999, 2004, 2010 by yoshidam * */ #ifndef _UNIDATA_MAP #define _UNIDATA_MAP struct unicode_data { const int code; const int combining_class; const int exclusion; const char* const canon; const char* const compat; const char* uppercase; const char* lowercase; const char* titlecase; }; static const struct unicode_data unidata[] = { EOS   if $KCODE != ‘UTF8‘
  raise "$KCODE must be UTF8"

end

TAIL = <<EOS }; #endif EOS

Public Instance methods

[Validate]