extending NSString - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding
extending NSString - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding
- Subject: extending NSString - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding
- From: "Dr. H. Nikolaus Schaller" <email@hidden>
- Date: Fri, 31 Jan 2003 21:43:25 +0100
Hi,
is there any method to extend the encodings recognized by - (NSData
*)dataUsingEncoding:(NSStringEncoding)encoding, i.e. adding new values
to NSStringEncoding and some way to put a plugin into the CFString core?
I would like to process some Windows Code pages not recognized yet
(e.g. Code Page 437 aka MS-DOS).
Writing a category seems not to work as I don't know a transparent way
to call the original dataUsingEncoding method without writing a
subclass of NSString and using [super dataUsingEncoding:encoding];
Many thanks for any hints,
Nikolaus
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.