Skip to content

Instantly share code, notes, and snippets.

@BillKek
Last active August 2, 2023 00:06
Show Gist options
  • Save BillKek/2158cbd46cd032e9f9c9511069e525e4 to your computer and use it in GitHub Desktop.
Save BillKek/2158cbd46cd032e9f9c9511069e525e4 to your computer and use it in GitHub Desktop.
eclipse and utf8 решение 1+2

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment