reading arabic text from a txt file in iphone
<p>I am working on app where I need to display arabic text from a text file. I am using following code:</p>

<pre><code>NSString *fileContents = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
NSArray *lines = [fileContents componentsSeparatedByString:@"\n"];
NSLog(@"%@",[lines objectAtIndex:0]);
</code></pre>

<p>I get about 60 records in this array lines. But when I try to print the data it does not print anything.</p>
