ustaslive/ruslang — Issue #1: windows cmd output for russian chars
Author: ustaslive
Created: 2011-11-02 18:29:30+00:00
State: open

char word[256] ;
fopen/fread/fclose to "word"
cout << word
word is "char *" in cp1251 code (internal char representation in this program). output this to windows/dos console corrupted. looks like it's
1) converted in to double byte coding
2) output for one byte

compiler GCC 4.3.4-4 (cygwin), IDE NetBeans
char