unicode table for cp437
commitf75bc06e5d00a827d3ec5d57bbb5b73a4adec855
authorIngo Brueckl <ib@wupperonline.de>
Wed, 10 Dec 2008 22:34:00 +0000 (10 23:34 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2008 19:25:49 +0000 (13 11:25 -0800)
tree75739541cab6939d2686d4a80cbca8437c9cc2ab
parent6c34bc2976b30dc8b56392c020e25bae1f363cab
unicode table for cp437

There is a major bug in the cp437 to unicode translation table.  Char
0x7c is mapped to U+00a5 which is the Yen sign and wrong.  The right
mapping is U+00a6 (broken bar).

Furthermore, a mapping for U+00b4 (a widely used character) is missing
even though easily possible.

The patch fixes these, as well as it provides a few other useful
mappings.

The changes are as follows:

  0x0f (enhancement) enables a sort of currency symbol
  0x27 (bug) enables a sort of acute accent which is a widely used character
  0x44 (enhancement) enables a sort of icelandic capital letter eth
  0x7c (major bug) corrects mapping
  0xeb (enhancement) enables a sort of icelandic small letter eth
  0xee (enhancement) enables a sort of math 'element of'

Signed-off-by: Ingo Brueckl <ib@wupperonline.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/cp437.uni