aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExportFileUtilities.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPExportFileUtilities.m b/Source/SPExportFileUtilities.m
index 0cecad91..b3a6cc3c 100644
--- a/Source/SPExportFileUtilities.m
+++ b/Source/SPExportFileUtilities.m
@@ -102,7 +102,7 @@ SPExportErrorChoice;
{
NSMutableString *header = [NSMutableString string];
- [header setString:@"<?xml version=\"1.0\"?>\n\n"];
+ [header setString:@"<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n\n"];
[header appendString:@"<!--\n-\n"];
[header appendString:@"- Sequel Pro XML dump\n"];
[header appendFormat:@"- %@ %@\n-\n", NSLocalizedString(@"Version", @"export header version label"), [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]];
@@ -129,7 +129,7 @@ SPExportErrorChoice;
[header appendFormat:@"<%@>\n\n", [[tableDocumentInstance database] HTMLEscapeString]];
}
- [file writeData:[header dataUsingEncoding:NSUTF8StringEncoding]];
+ [file writeData:[header dataUsingEncoding:NSUTF8StringEncoding]];
}
/**