aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/eucjp.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/eucjp.c')
-rw-r--r--iconvdata/eucjp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/iconvdata/eucjp.c b/iconvdata/eucjp.c
index 96e075628c..4936e40b62 100644
--- a/iconvdata/eucjp.c
+++ b/iconvdata/eucjp.c
@@ -138,6 +138,12 @@
if (ch <= 0x7f) \
/* It's plain ASCII. */ \
*outptr++ = ch; \
+ else if (ch == 0xa5) \
+ /* YEN sign => backslash */ \
+ *outptr++ = 0x5c; \
+ else if (ch == 0x203e) \
+ /* overscore => asciitilde */ \
+ *outptr++ = 0x7e; \
else \
{ \
/* Try the JIS character sets. */ \