With Varamozhi, you can type in Manglish and you will see text in real Malayalam.
Varamozhi is now a custom Keyboard. Follow instructions in Setup & Usage to enable Keyboard.
https://itunes.apple.com/in/app/varamozhi/id514987251?mt=8
NSString *normalizedContent = [eachCellContent decomposedStringWithCanonicalMapping];
NSString *normalizedSearch = [searchText decomposedStringWithCanonicalMapping];
and then compare these.NSString *eachCellContent = @"소";
NSString *searchText = @"ㅅ";
NSString *normalizedContent = [eachCellContent decomposedStringWithCanonicalMapping];
NSString *normalizedSearch = [searchText decomposedStringWithCanonicalMapping];
NSComparisonResult result = [normalizedContent compare:normalizedSearch
options:NSDiacriticInsensitiveSearch|NSCaseInsensitiveSearch
range:NSMakeRange(0, [normalizedSearch length])
locale:[NSLocale currentLocale]];
if (result == NSOrderedSame) {
NSLog(@"same");
}
// Output: same