bat файл:
chcp 65001
SET JAVA_TOOL_OPTIONS=-Dfile.encoding="UTF-8"
start "eclipse_clang" C:\eclipse\eclipse.exe
после этого эклипс начинает воспринимать консоль как utf8 кодировку.
Try solution with lldb-mi
as replacement of gdb
. I have success on eclipse IDE
with bat-file:
chcp 65001
SET PATH=C:\msys64\clang32\bin;C:\msys64\usr\bin;%PATH%
lldb-mi.exe %*
and with installed mingw-w64-clang-i686-lldb
and mingw-w64-clang-i686-lldb-mi
packages of windows-based msys2
system.