equal
deleted
inserted
replaced
26 #include "FindUtilWestern.h" |
26 #include "FindUtilWestern.h" |
27 #include <collate.h> |
27 #include <collate.h> |
28 #include <PtiIndicDefs.h> |
28 #include <PtiIndicDefs.h> |
29 #include "FindUtilKorean.h" |
29 #include "FindUtilKorean.h" |
30 #include <avkon.rsg> |
30 #include <avkon.rsg> |
31 #include <stringloader.h> |
31 #include <StringLoader.h> |
32 const TInt KLitTab('\t'); |
32 const TInt KLitTab('\t'); |
33 const TInt KLitSpace(' '); |
33 const TInt KLitSpace(' '); |
34 const TInt KLitHyphen('-'); |
34 const TInt KLitHyphen('-'); |
35 const TInt KLitLineFeed(8233); |
35 const TInt KLitLineFeed(8233); |
36 const TInt KLitStar('*'); |
36 const TInt KLitStar('*'); |
310 else |
310 else |
311 { |
311 { |
312 TInt numChar = 1; |
312 TInt numChar = 1; |
313 if (!aContactsField.Length()) |
313 if (!aContactsField.Length()) |
314 { |
314 { |
315 _LIT( KNone, "*" ); |
315 return EFalse; |
316 if( aWord.CompareC(KNone()) == 0 ) |
|
317 { |
|
318 return ETrue; |
|
319 } |
|
320 else |
|
321 { |
|
322 return EFalse; |
|
323 } |
|
324 } |
316 } |
325 if((aWord.Length() > 1) && aWord[aWord.Length()-2] == 0x200B) |
317 if((aWord.Length() > 1) && aWord[aWord.Length()-2] == 0x200B) |
326 { |
318 { |
327 numChar = 2; |
319 numChar = 2; |
328 } |
320 } |
1319 if( iDigraphChars == NULL ) |
1311 if( iDigraphChars == NULL ) |
1320 { |
1312 { |
1321 iDigraphChars = StringLoader::LoadL( R_QTN_ADS_DIGRAPH ); |
1313 iDigraphChars = StringLoader::LoadL( R_QTN_ADS_DIGRAPH ); |
1322 TPtr digraph = iDigraphChars->Des(); |
1314 TPtr digraph = iDigraphChars->Des(); |
1323 digraph.UpperCase(); |
1315 digraph.UpperCase(); |
1324 |
|
1325 _LIT( KMissing,"#MISSING" ); |
|
1326 if( digraph.CompareC(KMissing()) == 0 ) |
|
1327 { |
|
1328 digraph = KNullDesC; |
|
1329 } |
|
1330 } |
1316 } |
1331 |
1317 |
1332 TBuf<KAknStringBufferSize> itemString(aItemString); |
1318 TBuf<KAknStringBufferSize> itemString(aItemString); |
1333 itemString.UpperCase(); |
1319 itemString.UpperCase(); |
1334 |
1320 |