summaryrefslogtreecommitdiff
path: root/intl/uconv/ucvja/nsJapaneseToUnicode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/ucvja/nsJapaneseToUnicode.cpp')
-rw-r--r--intl/uconv/ucvja/nsJapaneseToUnicode.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/intl/uconv/ucvja/nsJapaneseToUnicode.cpp b/intl/uconv/ucvja/nsJapaneseToUnicode.cpp
index c4277182b..07f5c49f0 100644
--- a/intl/uconv/ucvja/nsJapaneseToUnicode.cpp
+++ b/intl/uconv/ucvja/nsJapaneseToUnicode.cpp
@@ -15,18 +15,9 @@
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
-#ifdef XP_OS2
- // HTML5-incompliant behavior for OS/2, see bug 108136
- // This is bogus. The right fix would be working around the font problems
- // in OS/2 gfx, since this "fix" introduces script-visible DOM differences
- // between the platforms.
- #define SJIS_INDEX gIBM943Index[0]
- #define JIS0208_INDEX gIBM943Index[1]
-#else
- // HTML5 says to use Windows-31J instead of the real Shift_JIS for decoding
- #define SJIS_INDEX gCP932Index[0]
- #define JIS0208_INDEX gCP932Index[1]
-#endif
+// HTML5 says to use Windows-31J instead of the real Shift_JIS for decoding
+#define SJIS_INDEX gCP932Index[0]
+#define JIS0208_INDEX gCP932Index[1]
#define JIS0212_INDEX gJIS0212Index
#define SJIS_UNMAPPED 0x30fb