     }()
     
     func readStringsFile(at path: String) -> StringsFile? {
-        guard let content = try? String(contentsOfFile: path) else {
+        var encoding: String.Encoding = .utf8
+        guard let content = try? String(contentsOfFile: path, usedEncoding: &encoding) else {
             return nil
         }
         


struct StringsFile {
    let content: NSString
    let entries: [LocKey: StringsFileEntry]
    
    func value(for key: LocKey) -> String? {

            entries[key] = entry
        }
        
        return StringsFile(content: content as NSString,
                           encoding: encoding,
                           entries: entries)
    }
    
    func readStringsDictFile(at path: String) -> [String: LocalizedFormat] {
