Skip to content

Commit

Permalink
Localized files need to be in UTF-16BE encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
nullterminated committed Sep 11, 2012
1 parent 7715e6b commit 38bc1e9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,8 @@ public void saveFramework() throws IOException {
NSDictionary newDict = (NSDictionary) NSPropertyListSerialization.propertyListFromString(result);
if(!newDict.equals(dict)) {
throw new IllegalStateException("Data wasn't equal when comparing before save");
} else {
if(url != null) {
ERXFileUtilities.stringToFile(result, new File(url.getFile()));
}
} else if(url != null) {
ERXFileUtilities.stringToFile(result, new File(url.getFile()), "UTF-16BE");
}
}
}
Expand Down

0 comments on commit 38bc1e9

Please sign in to comment.