diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-12 15:41:41 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-12 15:41:41 +0000 |
commit | 2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8 (patch) | |
tree | facee747c4e8beb17a8ee7edbc551d3758f3d568 /Source/xibLocalizationPostprocessor.m | |
parent | 1c89992b2af18acb457819b94f50fee247620d28 (diff) | |
download | sequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.tar.gz sequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.tar.bz2 sequelpro-2fa13f3ded3449d0a4ddd0357ca42d6b075d07a8.zip |
- Update the nib localisation postprocessor to output strings files in the original format they were read using
- Convert the .strings files to UTF16
Diffstat (limited to 'Source/xibLocalizationPostprocessor.m')
-rw-r--r-- | Source/xibLocalizationPostprocessor.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/xibLocalizationPostprocessor.m b/Source/xibLocalizationPostprocessor.m index 591e92b7..a6379aa7 100644 --- a/Source/xibLocalizationPostprocessor.m +++ b/Source/xibLocalizationPostprocessor.m @@ -54,7 +54,7 @@ int main(int argc, const char *argv[]) NSLog(@"Warning: skipped garbage input line %d, contents: \"%@\"", lineCount, line); } - if (outputStrings.length && ![outputStrings writeToFile:[NSString stringWithUTF8String:argv[2]] atomically:NO encoding:NSUTF8StringEncoding error:&error]) { + if (outputStrings.length && ![outputStrings writeToFile:[NSString stringWithUTF8String:argv[2]] atomically:NO encoding:usedEncoding error:&error]) { fprintf(stderr, "Error writing %s: %s\n", argv[2], error.localizedDescription.UTF8String); exit (-1); } |