ICU-4759 Allow the converter alias table to be swapped when legacy conversion is disabled and conversion is enabled.

X-SVN-Rev: 18721
This commit is contained in:
George Rhoten 2005-10-27 21:43:32 +00:00
parent 2e08b8b27f
commit 96c4ce20a7
2 changed files with 4 additions and 0 deletions

View file

@ -1143,7 +1143,9 @@ static const struct {
{"gb18030", "cnv", ucnv_swap},
/* MBCS conversion table file with extension */
{"*test4x", "cnv", ucnv_swap},
#endif
#if !UCONFIG_NO_CONVERSION
/* alias table */
{"cnvalias", "icu", ucnv_swapAliases},
#endif

View file

@ -527,6 +527,8 @@ static const struct {
{ { 0x52, 0x65, 0x73, 0x42 }, ures_swap }, /* dataFormat="ResB" */
#if !UCONFIG_NO_LEGACY_CONVERSION
{ { 0x63, 0x6e, 0x76, 0x74 }, ucnv_swap }, /* dataFormat="cnvt" */
#endif
#if !UCONFIG_NO_CONVERSION
{ { 0x43, 0x76, 0x41, 0x6c }, ucnv_swapAliases }, /* dataFormat="CvAl" */
#endif
#if !UCONFIG_NO_IDNA