Does NSString's "- initWithContentsOfURL:usedEncoding:error:" use the tightest encoding possible?
Does NSString's "- initWithContentsOfURL:usedEncoding:error:" use the tightest encoding possible?
- Subject: Does NSString's "- initWithContentsOfURL:usedEncoding:error:" use the tightest encoding possible?
- From: Daryle Walker <email@hidden>
- Date: Sat, 16 Apr 2016 22:35:42 -0400
If the given method is used to read in a pure ASCII file, will the encoding be set to ASCII? Or could the method return a superset encoding (like Latin-1, MacRoman, or UTF-8)?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden