Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
April 02, 2014 unicode console output | ||||
---|---|---|---|---|
| ||||
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 Re: unicode console output | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Mezhov | Denis Mezhov:
> How to out unicode cyrillic string to console?
Try this command on the command line:
chcp 65001
Bye,
bearophile
|
April 02, 2014 Re: unicode console output | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Mezhov | 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 Re: unicode console output | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | 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 Re: unicode console output | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Mezhov | 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 Re: unicode console output | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jos van Uden | Tnx, chcp 65001 and Lucida font out correct string. |
Copyright © 1999-2021 by the D Language Foundation