summaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-06 07:54:26 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-06 07:54:26 +0000
commitf8a1beb6b1a18b519e951d6c65b7b436ca8ba6aa (patch)
tree857d5185b9ec843cbebdbad82f8bb4a94c2e34d6 /iconvdata
parent081eec66de87110387620ca390e86afbb2546c02 (diff)
(ucs4_to_jisx0201): Correct mapping for U005C.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/jis0201.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/jis0201.h b/iconvdata/jis0201.h
index 362da17c0e..435d7584ab 100644
--- a/iconvdata/jis0201.h
+++ b/iconvdata/jis0201.h
@@ -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;