DBG: argv encoding

git-svn-id: trunk@37962 -
This commit is contained in:
martin 2012-07-18 14:06:17 +00:00
parent cc1d668601
commit 3e7175b81e

View File

@ -4378,7 +4378,8 @@ begin
// also call execute -exec-arguments if there are no arguments in this run
// so the possible arguments of a previous run are cleared
ExecuteCommand('-exec-arguments %s', [FTheDebugger.Arguments], [cfCheckState]);
// TODO: on l-inux, the target may have a different ENV{LANG} setting
ExecuteCommand('-exec-arguments %s', [UTF8ToSys(FTheDebugger.Arguments)], [cfCheckState]);
{$IF defined(UNIX) or defined(DBG_ENABLE_TERMINAL)}
InitConsole;