1.1 --- a/epoc32/include/charconv.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/charconv.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,17 +1,20 @@
1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 +/*
1.19 +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.20 +* All rights reserved.
1.21 +* This component and the accompanying materials are made available
1.22 +* under the terms of "Eclipse Public License v1.0"
1.23 +* which accompanies this distribution, and is available
1.24 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.25 +*
1.26 +* Initial Contributors:
1.27 +* Nokia Corporation - initial contribution.
1.28 +*
1.29 +* Contributors:
1.30 +*
1.31 +* Description:
1.32 +*
1.33 +*/
1.34 +
1.35
1.36 #if !defined(__CHARCONV_H__)
1.37 #define __CHARCONV_H__
1.38 @@ -177,6 +180,12 @@
1.39 */
1.40 const TUint KCharacterSetIdentifierGbk=0x10003ecb;
1.41 /**
1.42 +GB18030
1.43 +@publishedAll
1.44 +@released
1.45 +*/
1.46 +const TUint KCharacterSetIdentifierGb18030=0x10287038;
1.47 +/**
1.48 Big 5
1.49 @publishedAll
1.50 @released
1.51 @@ -228,10 +237,11 @@
1.52
1.53 const TUint KCharacterSetIdentifierUnicodeLittle=0x101f3fae; //Little Endian Unicode
1.54 const TUint KCharacterSetIdentifierUnicodeBig=0x101f4052; // Big Endian Unicode
1.55 -const TUint KCharacterSetIdentifierUcs2=0x101ff492;
1.56 +const TUint KCharacterSetIdentifierUcs2=0x101ff492;
1.57 +
1.58
1.59 /**
1.60 -Extended SMS 7-bit (not supported before v9.5)
1.61 +Extended SMS 7-bit
1.62 @publishedAll
1.63 @released
1.64 */
1.65 @@ -261,7 +271,141 @@
1.66 @released
1.67 */
1.68 const TUint KCharacterSetIdentifierSpanishSingleSms7Bit=0x1028640A;
1.69 -
1.70 +
1.71 +
1.72 +/**
1.73 +code page 949
1.74 +@publishedAll
1.75 +@released
1.76 +*/
1.77 +const TUint KCharacterSetIdentifierCP949=0x200100FF;
1.78 +
1.79 +/**
1.80 +Shift-JIS with Pictograph
1.81 +@publishedAll
1.82 +@released
1.83 +*/
1.84 +const TUint KCharacterSetIdentifierShiftJisDirectmap=0x101F8691;
1.85 +
1.86 +/**
1.87 +EUC-JP with direct mapped pictograph
1.88 +@publishedAll
1.89 +@released
1.90 +*/
1.91 +const TUint KCharacterSetIdentifierEucJpDirectmap=0x101F86A6;
1.92 +
1.93 +/**
1.94 +EUC-KR
1.95 +@publishedAll
1.96 +@released
1.97 +*/
1.98 +const TUint KCharacterSetIdentifierEUCKR=0x2000E526;
1.99 +
1.100 +/**
1.101 +iscii
1.102 +@publishedAll
1.103 +@released
1.104 +*/
1.105 +const TUint KCharacterSetIdentifierIscii=0x1027508E;
1.106 +
1.107 +/**
1.108 +ISO2022 Korean
1.109 +@publishedAll
1.110 +@released
1.111 +*/
1.112 +const TUint KCharacterSetIdentifierIso2022kr=0x20010101;
1.113 +
1.114 +/**
1.115 +KOI8-R Russian
1.116 +@publishedAll
1.117 +@released
1.118 +*/
1.119 +const TUint KCharacterSetIdentifierKOI8R=0x101F8778;
1.120 +
1.121 +/**
1.122 +KOI8-U Belorusian/Ukrainian Cyrillic
1.123 +@publishedAll
1.124 +@released
1.125 +*/
1.126 +const TUint KCharacterSetIdentifierKOI8U=0x101F8761;
1.127 +
1.128 +/**
1.129 +KSC5601 Korean
1.130 +@publishedAll
1.131 +@released
1.132 +*/
1.133 +const TUint KCharacterSetIdentifierKsc5601=0x200113CD;
1.134 +
1.135 +/**
1.136 +TIS_620 Thai
1.137 +@publishedAll
1.138 +@released
1.139 +*/
1.140 +const TUint KCharacterSetIdentifierTIS_620=0x101F8549;
1.141 +
1.142 +/**
1.143 +Code page 874 Thai
1.144 +@publishedAll
1.145 +@released
1.146 +*/
1.147 +const TUint KCharacterSetIdentifierWin874=0x101F854A;
1.148 +
1.149 +/**
1.150 +Code page 1250 Eastern European
1.151 +@publishedAll
1.152 +@released
1.153 +*/
1.154 +const TUint KCharacterSetIdentifierWin1250=0x100059D6;
1.155 +
1.156 +/**
1.157 +Code page 1251 Cyrillic
1.158 +@publishedAll
1.159 +@released
1.160 +*/
1.161 +const TUint KCharacterSetIdentifierWin1251=0x100059D7;
1.162 +
1.163 +/**
1.164 +Code page 1253 Greek
1.165 +@publishedAll
1.166 +@released
1.167 +*/
1.168 +const TUint KCharacterSetIdentifierWin1253=0x100059D8;
1.169 +
1.170 +/**
1.171 +Code page 1254 Turkish
1.172 +@publishedAll
1.173 +@released
1.174 +*/
1.175 +const TUint KCharacterSetIdentifierWin1254=0x100059D9;
1.176 +
1.177 +/**
1.178 +Code page 1255 Hebrew
1.179 +@publishedAll
1.180 +@released
1.181 +*/
1.182 +const TUint KCharacterSetIdentifierWin1255=0x101F8547;
1.183 +
1.184 +/**
1.185 +Code page 1256 Arabic
1.186 +@publishedAll
1.187 +@released
1.188 +*/
1.189 +const TUint KCharacterSetIdentifierWin1256=0x101F8548;
1.190 +
1.191 +/**
1.192 +Code page 1257 Baltic
1.193 +@publishedAll
1.194 +@released
1.195 +*/
1.196 +const TUint KCharacterSetIdentifierWin1257=0x100059DA;
1.197 +
1.198 +/**
1.199 +Windows-1258
1.200 +@publishedAll
1.201 +@released
1.202 +*/
1.203 +const TUint KCharacterSetIdentifierWin1258=0x102073B8;
1.204 +
1.205 // note that other character sets than those listed above may be available at run-time, and also that none of the above are necessarily available at run-time
1.206
1.207 struct SCnvConversionData;
1.208 @@ -310,7 +454,7 @@
1.209 class CCnvCharacterSetConverter : public CBase
1.210 {
1.211 public:
1.212 - /** Indicates whether a character set is available or unavailable
1.213 + /** Indicates whether a character set is available or unavailable
1.214 for conversion. Used by the second overload of
1.215 PrepareToConvertToOrFromL(). */
1.216 enum TAvailability
1.217 @@ -602,9 +746,10 @@
1.218 TDowngradeForExoticLineTerminatingCharacters iDowngradeForExoticLineTerminatingCharacters;
1.219 TBuf8<KMaximumLengthOfReplacementForUnconvertibleUnicodeCharacters> iReplacementForUnconvertibleUnicodeCharacters;
1.220 CStandardNamesAndMibEnums* iStandardNamesAndMibEnums;
1.221 - TBool iFullyConstructed;
1.222 + TBool iTlsDataConstructed;
1.223 CCharsetCnvCache* iCharsetCnvCache;
1.224 TBool iIsSystemStandardNamesAndMibEnumsScanned;
1.225 };
1.226
1.227 #endif
1.228 +