In gpg version 2.3, the setlocale (LC_TIME, ""); function was added for the Windows platform to display the corresponding format and language based on user settings. However, in non-English Windows such as Chinese, the Unicode characters included in the date and time may become garbled.
According to the[[ https://learn.microsoft.com/zh-tw/cpp/c-runtime-library/reference/setlocale-wsetlocale?view=msvc-170#utf-8-support | Microsoft documentation ]], starting from Windows 10 version 1803 (10.0.17134.0), setlocale(LC_ALL, ".UTF8") can use the current default Windows ANSI code page (ACP) for the locale and UTF-8 for the code page.
Suggestion:
It is recommended to change the code from asctimestamp (u32 stamp) / # if HAVE_W32_SYSTEM / setlocale(LC_TIME, "") to setlocale(LC_TIME, ".UTF8").