From fc036c8e3bb15ceb849903814f231330addd691a Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 7 Sep 2020 14:10:20 +0200 Subject: [PATCH] Ensure to use utf8 coded literals --- editor/src/editor/Editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/src/editor/Editor.cpp b/editor/src/editor/Editor.cpp index 8e3089a8..794eb331 100644 --- a/editor/src/editor/Editor.cpp +++ b/editor/src/editor/Editor.cpp @@ -496,10 +496,10 @@ void Editor::Impl::createFrameContents() return btn; }; auto createLoadFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) { - return createGlyphButton("\ue142", bounds, tag, fontsize); + return createGlyphButton(u8"\ue142", bounds, tag, fontsize); }; auto createEditFileButton = [&createGlyphButton](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int fontsize) { - return createGlyphButton("\ue148", bounds, tag, fontsize); + return createGlyphButton(u8"\ue148", bounds, tag, fontsize); }; auto createPiano = [](const CRect& bounds, int, const char*, CHoriTxtAlign, int) { SPiano* piano = new SPiano(bounds);