From: Ulrich Drepper Date: Mon, 6 Sep 1999 07:54:26 +0000 (+0000) Subject: (ucs4_to_jisx0201): Correct mapping for U005C. X-Git-Tag: cvs/glibc_2-1-2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a1beb6b1a18b519e951d6c65b7b436ca8ba6aa;p=thirdparty%2Fglibc.git (ucs4_to_jisx0201): Correct mapping for U005C. --- diff --git a/iconvdata/jis0201.h b/iconvdata/jis0201.h index 362da17c0e2..435d7584ab1 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 , 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;