mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Another attempt to enable UTF-8 charset on Windows
This commit is contained in:
@@ -57,6 +57,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include <functiondiscoverykeys.h>
|
||||
#include <intsafe.h>
|
||||
#include <guiddef.h>
|
||||
#include <locale.h>
|
||||
|
||||
#ifndef DCX_USESTYLE
|
||||
#define DCX_USESTYLE 0x00010000
|
||||
@@ -367,6 +368,8 @@ void start() {
|
||||
} // namespace ThirdParty
|
||||
|
||||
void start() {
|
||||
// https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale#utf-8-support
|
||||
setlocale(LC_ALL, ".UTF8");
|
||||
}
|
||||
|
||||
void finish() {
|
||||
|
Reference in New Issue
Block a user