Thread overview
unicode console output
Apr 02, 2014
Denis Mezhov
Apr 02, 2014
bearophile
Apr 02, 2014
Denis Mezhov
Apr 02, 2014
Jos van Uden
Apr 03, 2014
Denis Mezhov
Apr 02, 2014
MGW
April 02, 2014
I'm trying out to windows console unicode latin string

writeln("aaabbb");
console out: aaabbb

trying out to console unicode cyrillic string
writeln("бббггг");
console out: ╨│╨│╨│╨▒╨▒╨▒

How to out unicode cyrillic string to console?
April 02, 2014
Denis Mezhov:

> How to out unicode cyrillic string to console?

Try this command on the command line:

chcp 65001

Bye,
bearophile
April 02, 2014
On Wednesday, 2 April 2014 at 12:47:06 UTC, Denis Mezhov wrote:
> I'm trying out to windows console unicode latin string
>
> writeln("aaabbb");
> console out: aaabbb
>
> trying out to console unicode cyrillic string
> writeln("бббггг");
> console out: ╨│╨│╨│╨▒╨▒╨▒
>
> How to out unicode cyrillic string to console?
-------------------------------------

On the website http://dlang.ru all the details are written about re-encode the video into Cyrillic.
April 02, 2014
On Wednesday, 2 April 2014 at 12:51:57 UTC, bearophile wrote:
> Denis Mezhov:
>
>> How to out unicode cyrillic string to console?
>
> Try this command on the command line:
>
> chcp 65001
>
> Bye,
> bearophile

chcp 65001 dont'work


start.bat

mode con cols=150 lines=50
chcp 65001
%Path%\Minesweeper\Debug\Mi.exe

don't out correct string
April 02, 2014
On 2-4-2014 15:38, Denis Mezhov wrote:
> On Wednesday, 2 April 2014 at 12:51:57 UTC, bearophile wrote:
>> Denis Mezhov:
>>
>>> How to out unicode cyrillic string to console?
>>
>> Try this command on the command line:
>>
>> chcp 65001
>>
>> Bye,
>> bearophile
>
> chcp 65001 dont'work
>
>
> start.bat
>
> mode con cols=150 lines=50
> chcp 65001
> %Path%\Minesweeper\Debug\Mi.exe
>
> don't out correct string

Do you have a Unicode font selected in the dosbox properties,
like Lucida Console ?
April 03, 2014
Tnx, chcp 65001 and Lucida font out correct string.