nall: ensure utf-8 string encoding in cl builds (#1339)

As a bonus, use the Unicode ellipsis character in the ares UI on all
platforms instead of just macOS. In addition to looking nicer, it will
make regressions in this area very obvious.
このコミットが含まれているのは:
invertego 2023-12-09 13:46:17 -08:00 committed by GitHub
コミット f893afca89
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
3個のファイルの変更1行の追加9行の削除

ファイルの表示

@ -2,11 +2,7 @@
namespace Instances { Instance<Presentation> presentation; }
Presentation& presentation = Instances::presentation();
#if defined(PLATFORM_MACOS)
#define ELLIPSIS "\u2026"
#else
#define ELLIPSIS " ..."
#endif
Presentation::Presentation() {
loadMenu.setText("Load");

ファイルの表示

@ -1,8 +1,4 @@
#if defined(PLATFORM_MACOS)
#define ELLIPSIS "\u2026"
#else
#define ELLIPSIS " ..."
#endif
auto PathSettings::construct() -> void {
setCollapsible();

ファイルの表示

@ -119,7 +119,7 @@ endif
ifeq ($(cl),true)
flags.c = -TC -std:c11
flags.cpp = -TP -std:c++17 -EHsc
flags += -nologo -permissive- -W2 -Fd$(object.path)/
flags += -nologo -permissive- -utf-8 -W2 -Fd$(object.path)/
options += -nologo $(if $(findstring clang,$(compiler)),-fuse-ld=lld) -link
else
flags.c = -x c -std=c11