[swift-corelibs-dev] Foundation: NSString init detect encoding
Andy Best
andybest.net at gmail.com
Wed Jun 21 09:39:20 CDT 2017
Hey,
I've been looking at the init(contentsOfFile, usedEncoding) initializer for
NSString in corelibs-foundation.
Am I right in thinking that this method should use some method to attempt
to detect the character encoding of the file before returning a decoded
String?
If so, I've been working on a pure Swift library to detect string
encodings, and wondered if continued work on it might be useful for
implementing this missing method?
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20170621/34b267f0/attachment.html>
More information about the swift-corelibs-dev
mailing list