short-names: Consider character encoding when making short names.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 23 Apr 2011 18:59:49 +0000 (11:59 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 26 Apr 2011 04:13:53 +0000 (21:13 -0700)
commit97fed7964411b7bed4d8ad5bc895966de7e6b2b3
tree74f881ffd0b78ce4d2ca2f9736053f79734f65bc
parent924870103590032b33a94b471fc90ed08f4072c6
short-names: Consider character encoding when making short names.

Variable names and short names are always in UTF-8, but the length of
short names needs to be limited to 8 bytes in the dictionary encoding,
not in UTF-8.  This commit fixes that problem.
src/data/short-names.c
src/data/variable.c