From 5d2d6adfaff80e83a35096df42aa759015b09ea1 Mon Sep 17 00:00:00 2001 From: rbrunner7 Date: Sun, 25 Feb 2018 14:20:28 +0100 Subject: [PATCH] UTF-8 support for filenames and paths under Windows --- monero-wallet-gui.pro | 7 +++++++ wizard/WizardMain.qml | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index c92550a9..0eaaaa9f 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -218,6 +218,13 @@ win32 { -lboost_regex-mt-s \ -lboost_chrono-mt-s \ -lboost_program_options-mt-s \ + -lboost_locale-mt-s \ + -licuio \ + -licuin \ + -licuuc \ + -licudt \ + -licutu \ + -liconv \ -lssl \ -lcrypto \ -Wl,-Bdynamic \ diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml index 43e2d5e0..05a4099e 100644 --- a/wizard/WizardMain.qml +++ b/wizard/WizardMain.qml @@ -185,14 +185,6 @@ ColumnLayout { return false; } - // Don't allow non ascii characters in path on windows platforms until supported by Wallet2 - if (isWindows) { - if (!isAscii(path)) { - walletErrorDialog.text = qsTr("Non-ASCII characters are not allowed in wallet path or account name") + translationManager.emptyString; - walletErrorDialog.open(); - return false; - } - } return true; }