jeudi 13 août 2015

Unicode character issue while reading from csv file

In my program, i read the content from csv file then display in UILabel.

What is my problem is Unicode character not working while read it from file.

Suppose i do the code like this.

NSString *cubedSymbol = @"10\u00B3";

[label setText:cubedSymbol ];

Output 10³

But same text @"10\u00B3" i read from the file and set it to label.

output 10\u00B3



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire