--- a/locales/loce32/src/ls_coltur.cpp Fri Mar 12 15:48:30 2010 +0200
+++ b/locales/loce32/src/ls_coltur.cpp Mon Mar 15 12:44:38 2010 +0200
@@ -18,6 +18,7 @@
#include <kernel/ls_std.h>
#include <collate.h>
+#include <unicode.h>
const TUint KUidColturCollationMethod = 0x100059DD;
@@ -71,9 +72,27 @@
2
};
+static const TUnicodeData TheUnicodeTurkishData[] = // property table
+ {
+ { 0, 0, 0, 0, 232, 1 } // character properties. See the definition of TUnicodeData in /include/unicode.h.
+ };
+static const TUnicodeDataRange TheUnicodeTurkishDataRange[] = // character range table
+ {
+// This table defines only one character 0x49.
+ { 0x0, -1 }, // characters 0x0-0x48 has index=-1 into above property table (-1 means not defined)
+ { 0x49, 0 }, // characters 0x49-0x49 has index=0 into above property table, that is, 0x49 has property {0,0,0,0,232,1}
+ { 0x4A, -1 } // characters 0x4A-0x10FFFF has index=-1 into above property table (-1 means not defined)
+ };
+const TUnicodeDataSet TheUnicodeTurkishDataSet =
+ {
+ TheUnicodeTurkishData, // address of above property table
+ TheUnicodeTurkishDataRange, // character range table
+ sizeof(TheUnicodeTurkishDataRange)/sizeof(TUnicodeDataRange) // character range table size (should be 3 in this case)
+ };
+
// The one and only locale character set object.
const LCharSet TheCharSet =
{
- NULL,
+ &TheUnicodeTurkishDataSet,
&TheCollationDataSet
};