Open
Description
Though char is not UTF-8 in Windows environments, LOG4CXX_CHAR:STRING=utf-8 is set and logchar is defined as char, when building with vcpkg.
In Japanese Windows environments, char is Shift_JIS.
Despite claiming UTF-8, log messages are output as-is without any conversion, so Japanese messages are correctly logged in Shift_JIS,
but Unicode-specific characters cannot be logged.
We think LOG4CXX_CHAR:STRING should be set wchar_t and logchar should be defined as wchar_t in Windows environments.
version: 1.4.0
vcpkg tag: 2025.04.09
Metadata
Metadata
Assignees
Labels
No labels