문제

In my application I have to normalize an NSString using NFD Unicode system. How can I do this? I need to convert a string which the user entered as normalized and from this normalized string, I have to calculate a number. Can anyone help me?

도움이 되었습니까?

해결책

NSString *nfdString = [yourString decomposedStringWithCanonicalMapping];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top