diff options
author | Max <post@wickenrode.com> | 2015-11-20 03:51:18 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-11-20 03:51:18 +0100 |
commit | 5568af642c2fc738f175e0be4729fd3e1fe2263a (patch) | |
tree | f950a5093c833ee886d9d8361d0ec6d4482c5e28 /Source/SPSQLExporter.m | |
parent | b8ff5b4209a45cfb8cc836125debc26041f7c00e (diff) | |
download | sequelpro-5568af642c2fc738f175e0be4729fd3e1fe2263a.tar.gz sequelpro-5568af642c2fc738f175e0be4729fd3e1fe2263a.tar.bz2 sequelpro-5568af642c2fc738f175e0be4729fd3e1fe2263a.zip |
* move some duplicate code into it's own method
* remove some duplicate onMainThread calls
* if an exporter needs a certain charset it'll have to set that itself now
Diffstat (limited to 'Source/SPSQLExporter.m')
-rw-r--r-- | Source/SPSQLExporter.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPSQLExporter.m b/Source/SPSQLExporter.m index 5fcaae26..c575156d 100644 --- a/Source/SPSQLExporter.m +++ b/Source/SPSQLExporter.m @@ -174,6 +174,9 @@ if ([self sqlOutputIncludeUTF8BOM]) { [metaString appendString:@"\xef\xbb\xbf"]; } + + // we require utf8 + [connection setEncoding:@"utf8"]; // Add the dump header to the dump file [metaString appendString:@"# ************************************************************\n"]; |