#import <Foundation/Foundation.h>

int
main (void)
{
  CREATE_AUTORELEASE_POOL (pool);

  NSData *data = [NSData dataWithContentsOfFile: @"iso.txt"];
  NSString *s1 = [[NSString alloc] initWithData: data
                                       encoding: NSUnicodeStringEncoding];
  data = [NSData dataWithContentsOfFile: @"utf.txt"];
  NSString *s2 = [[NSString alloc] initWithData: data
                                       encoding: NSUnicodeStringEncoding];

  GSPrintf (stdout, @"%@\n%@\n", s1, s2);

  RELEASE (pool);

  return 0;
}
