On 1 Sep 2010, at 10:21, sebi wrote: > I load an utf-8 textfile from a server with > > [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding > error:&err] > > and non ascii characters are still not right, e.g. "ü" becomes "ÃŒ". is that > a problem on my end or on the server side?
You're opening the file using the wrong encoding. The characters you mention are what UTF-8 looks like if you do that (and NSString works, by the way). Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
