Adding string encodings CoCoa

2009-08-16 Thread tim lindner
Is it possible to add an encoding to CoCoa? I have some text data from a legacy system which is ASCII for 0-127, but 128-255 is unique to the system. I'd like to load it into a text view and just have it work. What options do I have? -- tim lindner tlind...@macmess.org

Re: Adding string encodings CoCoa

2009-08-16 Thread Steve Christensen
Well, certainly one way would be to preprocess the text buffer, converting the custom characters into a standard encoding like UTF-8, then passing the processed buffer into +[NSString stringWithUTF8String:]. At that point it would just work since it's in a known encoding. Depending on