how to read an hebrew text from a file
I want to read a text of hebrew from a file to nsstring object,I know the code line开发者_如何学运维:
NSString *text=[NSString stringWithContentsOfFile:path encoding:encoding error:NULL];
i dont know what kind of file it have to be:rtf,xml or something else and what kind of encoding I have to use for hebrew
UTF-8 is the proper encoding you want.
http://www.alanwood.net/unicode/hebrew.html
精彩评论