Skip to content

Commit

Permalink
Merge pull request #1 from mxey/master
Browse files Browse the repository at this point in the history
Fix UTF-8
  • Loading branch information
ttscoff committed Oct 19, 2012
2 parents e7c8986 + 37a133c commit 99c455e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MultiMarkdown QuickLook/GeneratePreviewForURL.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,
if (logDebug)
NSLog(@"preview generated");

CFDictionaryRef properties = (CFDictionaryRef) [NSDictionary dictionary];
CFDictionaryRef properties = (CFDictionaryRef) [NSDictionary dictionaryWithObject:@"UTF-8" forKey:(NSString *)kQLPreviewPropertyTextEncodingNameKey];
QLPreviewRequestSetDataRepresentation(preview, previewData, kUTTypeHTML, properties);
}

Expand Down

0 comments on commit 99c455e

Please sign in to comment.