diff --git a/Sources/App/Views/MarkdownPage.swift b/Sources/App/Views/MarkdownPage.swift index 219356ce6..ce176f0a4 100644 --- a/Sources/App/Views/MarkdownPage.swift +++ b/Sources/App/Views/MarkdownPage.swift @@ -32,7 +32,7 @@ class MarkdownPage: PublicPage { .appending("Resources/Markdown/") .appending(markdownFilename) - let markdown = try? String(contentsOfFile: pathToMarkdownFile) + let markdown = try? String(contentsOfFile: pathToMarkdownFile, encoding: .utf8) let result = markdown.map(MarkdownParser().parse) metadata = result?.metadata ?? [:] html = result?.html