Ticket #5797 (assigned enhancement)

Bug contains 7 commit(s) | SVN Diffs for #5797

 

Opened 1 year ago

Last modified 1 year ago

use Shift-JIS table for ISO 2022-JP

Reported by: markus Assigned to: markus (accepted)
Priority: major Milestone: 4.0
Component: conversion Version:
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): ICU4C Weeks: 0.5
Review: jungshik

Description

Use the Shift-JIS conversion table for the JIS X 0208 part of ISO 2022-JP. This would save space (remove the 72kB jisx-208.cnv file) and would use the same consistent mappings for both (except for the encoding scheme differences, of course).

We could make the code try to load the jisx-208 table and only use the Shift-JIS table if the dedicated one is not available, but that would complicate the code and one of the two code branches would be hard to test. There should be no reason for different JIS X 0208 mappings between the two converters.

Rather than the Shift-JIS table, we could use the EUC-JP table, but that is less commonly used and therefore more likely removed from the set of .cnv files.

Attachments

Change History

09/26/07 16:17:04 changed by markus

  • status changed from new to assigned.
  • summary changed from RFE: use Shift-JIS table for ISO 2022-JP to use Shift-JIS table for ISO 2022-JP.
  • milestone changed from UNSCH to 4.0.

10/11/07 15:19:43 changed by markus

  • priority changed from minor to major.
  • project changed from all to ICU4C.
  • revw set to jungshik.

Add/Change #5797 (use Shift-JIS table for ISO 2022-JP)




Anti spam check: