Created
March 4, 2020 03:38
-
-
Save dsdstudio/8b77705390ab46f1db059243b664df79 to your computer and use it in GitHub Desktop.
EUC_KR -> utf8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do{ | |
let c = try NSString(contentsOfFile: path, encoding: CFStringConvertEncodingToNSStringEncoding(0x0422)) | |
print(c) | |
} catch { | |
fatalError(error.localizedDescription) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment