madshi bug tracker - eac3to
View Issue Details
0000374eac3tobugpublic2016-01-02 17:082018-12-09 22:10
GCRaistlin 
 
normalminoralways
newopen 
3.31
0000374: Cyrillic chars are being displayed incorrectly
eac3to output is ANSI while the console is OEM. It has no effect for Latin chars but Cyrillic chars are being displayed like a garbage. Screenshot 1 shows how it looks and screenshot 2 shows how it should look.
For other command-line tools with the similar output issue it is possible to use a batch wrapper (that's how I got the screenshot 2):
util.exe %*| iconv.exe -c -f cp1251 -t 866
But it's actually useless for eac3to 'cause nothing is displayed until the process finished.
No tags attached.
png eac3to1.png (9,860) 2016-01-02 17:08
http://bugs.madshi.net/file_download.php?file_id=190&type=bug
png

png eac3to2.png (11,927) 2016-01-02 17:08
http://bugs.madshi.net/file_download.php?file_id=191&type=bug
png
Issue History
2016-01-02 17:08GCRaistlinNew Issue
2016-01-02 17:08GCRaistlinFile Added: eac3to1.png
2016-01-02 17:08GCRaistlinFile Added: eac3to2.png
2018-12-09 21:51GCRaistlinNote Added: 0002446
2018-12-09 22:10GCRaistlinNote Edited: 0002446bug_revision_view_page.php?bugnote_id=2446#r535

Notes
(0002446)
GCRaistlin   
2018-12-09 21:51   
(edited on: 2018-12-09 22:10)
Workaround - eac3to.cmd:

@echo off
for /f "tokens=2 delims=:" %%A in ('chcp') do set CP=%%A
>nul chcp 1251
eac3to.exe %*
if errorlevel 1 pause
>nul chcp %CP%