If I take a string from an NSTextField with an accented character: café and I 
make this into a file name and write a file, then I read that file name back in 
(using NSFileManager contentsOfDirectoryAtPath), then the string read back in, 
still looks the same: an accented café, but the strings don't compare anymore. 
The one in the text field was unichars: 99,97,102,233 and the one in the file 
name is now    99,97,102,101,769.

What does it mean, and how can I make sure I get them both the same and 
comparable?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to