Command line in build step ignores chcp 65001

Command line script in build step:

chcp 65001

echo Экспорт в DevProm> filename

 

In result we see in file

������� � DevProm

 

using command line in windows 10 works as expected

0
1 comment

Hi,

a similar issue was reported in the past, could you check whether this applies to your case as well? https://youtrack.jetbrains.com/issue/TW-21769. If so, please watch, vote and feel free to add any comment you might consider relevant.

Take into account, that the build agent needs to pass the characters to the console, so even if you change the console's codepage, it will be receiving the characters from the build agent's encoding, so you might need to check and change it as well.

0

Please sign in to leave a comment.