Text encoding issues

2009-05-12 Thread Ryan Joseph
I'm dealing with my first attempt to cope with text encodings, ugh... This is an issue confronting everyone reading text files so there should be a SIMPLE solution to the problem, which is, how do I know what encoding the file is I'm opening? First question, why is the most obvious and

Re: Text encoding issues

2009-05-12 Thread Dave Geering
On Wed, May 13, 2009 at 11:53 AM, Ryan Joseph thealchemistgu...@gmail.com wrote: First question, why is the most obvious and best solution deprecated? NSString's initWithContentsOfFile:  accepts no encoding and appears it is getting the correct encoding in my tests.  Now they want us to use

Re: Text encoding issues

2009-05-12 Thread Ryan Joseph
It was under my nose the whole time! Thanks, that TEC sniffer thing wasted an hour of my life. On May 13, 2009, at 9:02 AM, Dave Geering wrote: On Wed, May 13, 2009 at 11:53 AM, Ryan Joseph thealchemistgu...@gmail.com wrote: First question, why is the most obvious and best solution