(ucs4_to_jisx0201): Correct mapping for U005C.

This commit is contained in:
Ulrich Drepper 1999-09-06 07:54:26 +00:00
parent 081eec66de
commit f8a1beb6b1

View File

@ -1,5 +1,5 @@
/* Access functions for JISX0201 conversion.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@ -46,7 +46,7 @@ ucs4_to_jisx0201 (uint32_t wch, char *s)
ch = '\x5c';
else if (wch == 0x203e)
ch = '\x7e';
else if (wch < 0x7e)
else if (wch < 0x7e && wch != 0x5c)
ch = wch;
else if (wch >= 0xff61 && wch <= 0xff9f)
ch = wch - 0xfec0;