garbled

Solve the problem of garbled Compile error messages in UE4 under Chinese environment

UE4 4.26.0, VS 2019 Community, and Chinese Win10 20H2 together produced the problem discussed today: when Compile errors occur, the log messages in Chinese are garbled:

I tried switching VS language to English and UE4 language to Chinese, neither worked. I recalled a previous issue: Android Studio的Build Output中文输出乱码(菱形问号)问题的解决方法, and wondered if UE4 had similar settings. After searching without success, I discovered that in newer Win10 (not sure which version first added it) there is a UTF‑8 option in regional language settings. Although in 20H2 it is still labeled beta, it indeed solves the problem:

Continue reading…