codepage: strip accents during shortname upper-casing
authorH. Peter Anvin <hpa@zytor.com>
Mon, 16 Jun 2008 07:18:48 +0000 (00:18 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 16 Jun 2008 07:18:48 +0000 (00:18 -0700)
commit21edbdacf38c9eddc9dcca5c555a8a587f9df6fb
treed40ee22cce6d5e279c3c8ea812fd294c70589320
parent52ff420fba565c4803cd43260c2d36189ff3d71a
codepage: strip accents during shortname upper-casing

If we don't have a direct upper-case equivalent to a character, but we
*do* have the "naked" version of the upper-case character (defined as
the first character of the canonical Unicode decomposition of the
case-mapped character), then use it for the intracodepage table (used
for shortnames.)  This matches DOS behaviour.  No obvious way, yet, to
handle the fact that DOS doesn't uppercase the lowercase sigma, but
that's not a huge problem; besides, lowercase sigma is mapped to
position 0xE5, which would require dealing with the special handling
of this character in the first position.
codepage/cptable.pl