Skip to content

Commit

Permalink
added locale for utf-8 in windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Jan 11, 2024
1 parent 1e28967 commit d490ebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relight/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class MyProxyStyle : public QProxyStyle {

int main(int argc, char *argv[]) {

setlocale(LC_ALL, ".UTF8");
if (argc > 1) {
if (std::string(argv[1]) == std::string("--version") ||
std::string(argv[1]) == std::string("-v")) {
Expand Down

0 comments on commit d490ebf

Please sign in to comment.