From ec4fc3af6ae39236c41df88d25a8706c859661b7 Mon Sep 17 00:00:00 2001 From: shatty Date: Thu, 31 Jul 2003 04:56:56 +0000 Subject: [PATCH] fixed the 14th encoding, which is not FIXED japanese but rather JIS0208, yay! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4149 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/support/character_sets.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/kits/support/character_sets.cpp b/src/kits/support/character_sets.cpp index 09c2b77bf4..a8ef008425 100644 --- a/src/kits/support/character_sets.cpp +++ b/src/kits/support/character_sets.cpp @@ -66,11 +66,9 @@ const BCharacterSet packedJapanese(13,18,"EUC Packed Format Japanese", "Extended_UNIX_Code_Packed_Format_for_Japanese","EUC-JP", EUCPackedJapaneseAliases); -const char * EUCFixedJapaneseAliases[] = - { "csEUCFixWidJapanese",NULL }; -const BCharacterSet fixedJapanese(14,19,"EUC Fixed Width Japanese", - "Extended_UNIX_Code_Fixed_Width_for_Japanese",NULL, - EUCFixedJapaneseAliases); +const char * JIS0208aliases[] = + { "iso-ir-87","x0208","JIS_X0208-1983","csISO87JISX0208",NULL }; +const BCharacterSet JIS0208(14,63,"JIS 0208","JIS_C6226-1983",NULL,JIS0208aliases); const BCharacterSet windows1252(15,2252,"MS-Windows Codepage 1252","windows-1252",NULL,NULL); @@ -120,7 +118,7 @@ const BCharacterSet * character_sets_by_id[] = { &isoLatin6, &isoLatin7, &isoLatin8, &isoLatin9, &isoLatin10, &macintosh, // R5 BFont encodings end here - &shiftJIS, &packedJapanese, &fixedJapanese, + &shiftJIS, &packedJapanese, &JIS0208, &windows1252, &unicode2, &KOI8R, &windows1251, &IBM866, &IBM437, &eucKR, &iso13, &iso14, &iso15, // R5 convert_to/from_utf8 encodings end here