You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using BOOST_LOG to print Chinese characters will cause the program to crash. When min_log_level=0 is set in the configuration file, starting sunshine will terminate and the error stack trace is as follows:
terminate called after throwing an instance of 'boost::wrapexcept<boost::exception_detail::error_info_injector<boost::log::v2s_mt_nt6::conversion_error> >'
what(): Could not convert character encoding
I found that the crash occurred in the code_convert() method through breakpoints, as shown in the following image.
The str1 variable containing Chinese characters.
Expected Behavior
just use BOOST_LOG to print Chinese characters like this:
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Using BOOST_LOG to print Chinese characters will cause the program to crash. When min_log_level=0 is set in the configuration file, starting sunshine will terminate and the error stack trace is as follows:
I found that the crash occurred in the code_convert() method through breakpoints, as shown in the following image.
The str1 variable containing Chinese characters.
Expected Behavior
just use
BOOST_LOG
to print Chinese characters like this:BOOST_LOG(verbose) << L"你好";
Additional Context
No response
Host Operating System
Windows
Operating System Version
Windows 11
Architecture
64 bit
Sunshine commit or version
4b986b2
Package
Windows - portable
GPU Type
AMD
GPU Model
GeForce RTX 3060
GPU Driver/Mesa Version
472.56
Capture Method (Linux Only)
No response
Config
Apps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: