mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 23:30:06 +00:00
(ucs4_to_jisx0201): Correct mapping for U005C.
This commit is contained in:
parent
081eec66de
commit
f8a1beb6b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user