Skip to content

Commit

Permalink
Fix three clr2def2 character maps
Browse files Browse the repository at this point in the history
The localedef(1) tool does not allow two symbols to be mapped to
the same unicode character.  I actually don't know if this is really
"wrong", but I had to adjust a couple of character sets that
violated this rule: ARMSCII-8 and Big5HKSCS.  Neither are present
on Illumos so that may explain why localedef(1) wasn't prepared
to do anything except throw an error.

The CP866 charset had a trailing garbage at the end of the file that
localedef didn't like, so I removed it.
  • Loading branch information
jrmarino committed Aug 1, 2015
1 parent ce02c39 commit 6932208
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
10 changes: 5 additions & 5 deletions tools/tools/locale/etc/charmaps/ARMSCII-8.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@
0xA0 0x00A0
0xA2 0x00A7
0xA3 0x0589
0xA4 0x0029
0xA5 0x0028
0xA4 0xFF09
0xA5 0xFF08
0xA6 0x00BB
0xA7 0x00AB
0xA8 0x2014
0xA9 0x002E
0xA9 0xFF0E
0xAA 0x055D
0xAB 0x002C
0xAC 0x002D
0xAB 0xFF0C
0xAC 0xFF0D
0xAD 0x058A
0xAE 0x2026
0xAF 0x055C
Expand Down
16 changes: 8 additions & 8 deletions tools/tools/locale/etc/charmaps/Big5HKSCS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -17741,9 +17741,9 @@
0xF9E6 0x2552
0xF9E7 0x2564
0xF9E8 0x2555
0xF9E9 0x255E
0xF9EA 0x256A
0xF9EB 0x2561
#0xF9E9 0x255E
#0xF9EA 0x256A
#0xF9EB 0x2561
0xF9EC 0x2558
0xF9ED 0x2567
0xF9EE 0x255B
Expand All @@ -17757,11 +17757,11 @@
0xF9F6 0x2568
0xF9F7 0x255C
0xF9F8 0x2551
0xF9F9 0x2550
0xF9FA 0x256D
0xF9FB 0x256E
0xF9FC 0x2570
0xF9FD 0x256F
#0xF9F9 0x2550
#0xF9FA 0x256D
#0xF9FB 0x256E
#0xF9FC 0x2570
#0xF9FD 0x256F
0xF9FE 0xFFED
0xFA40 0x20547
0xFA41 0x92DB
Expand Down
2 changes: 0 additions & 2 deletions tools/tools/locale/etc/charmaps/CP866.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,3 @@
0xfd 0x00a4 #CURRENCY SIGN
0xfe 0x25a0 #BLACK SQUARE
0xff 0x00a0 #NO-BREAK SPACE



0 comments on commit 6932208

Please sign in to comment.