charconvfw/Charconv/ongoing/data/JISX0201.CTL
author William Roberts <williamr@symbian.org>
Fri, 30 Apr 2010 13:21:39 +0100
branchRCL_3
changeset 20 7ea2c3c49480
parent 0 1fb32624e06b
permissions -rw-r--r--
Remerge fixes for Bug 1850 and Bug 1543

# JISX0201.CTL
#
# Copyright (c) 1997-2000 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of the License "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:      
#

Endianness                                                          FixedBigEndian
ReplacementForUnconvertibleUnicodeCharacters                        0x00 # a dummy value - the plug-ins using JISX0201.CTL will not use this

StartForeignVariableByteData
#   FirstInitialByteValueInRange    LastInitialByteValueInRange     NumberOfSubsequentBytes
    0x00                            0xff                            0
EndForeignVariableByteData

StartForeignToUnicodeData
#       IncludePriority SearchPriority  FirstInputCharacterCodeInRange  LastInputCharacterCodeInRange   Algorithm           Parameters
    StartAdditionalSubsetTable jisRomanConversionData
        4               4               0x00                            0x5b                            Direct              {}      # ASCII characters [1]
        3               1               0x5c                            0x5c                            Offset              {}      # yen sign
        2               3               0x5d                            0x7f                            Direct              {}      # ASCII characters [2]
    EndAdditionalSubsetTable jisRomanConversionData
    StartAdditionalSubsetTable halfWidthKatakana8ConversionData
        1               2               0xa1                            0xdf                            Offset              {}      # half-width katakana
    EndAdditionalSubsetTable halfWidthKatakana8ConversionData
ConflictResolution
#   ForeignCharacterCodeToResolve   UnicodeCharacterCodePreferred
    0x5c                            0x00a5      # REVERSE SOLIDUS
EndForeignToUnicodeData

StartUnicodeToForeignData
#       IncludePriority SearchPriority  FirstInputCharacterCodeInRange  LastInputCharacterCodeInRange   Algorithm           SizeOfOutputCharacterCodeInBytes    Parameters
    StartAdditionalSubsetTable jisRomanConversionData
        4               1               0x0000                          0x007f                          Direct              1                                   {}      # ASCII characters [1]
        2               4               0x00a5                          0x00a5                          Offset              1                                   {}      # yen sign
    EndAdditionalSubsetTable jisRomanConversionData
    StartAdditionalSubsetTable halfWidthKatakana8ConversionData
        1               3               0xff61                          0xff9f                          Offset              1                                   {}      # half-width katakana
    EndAdditionalSubsetTable halfWidthKatakana8ConversionData
EndUnicodeToForeignData