D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7927 - windows console utf
Summary: windows console utf
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 12:21 UTC by deep0125
Modified: 2015-06-09 01:31 UTC (History)
1 user (show)

See Also:


Attachments
workflow (7.74 KB, image/png)
2012-04-16 12:21 UTC, deep0125
Details

Note You need to log in before you can comment on or make changes to this issue.
Description deep0125 2012-04-16 12:21:58 UTC
Created attachment 1092 [details]
workflow

Windows, console. 
source "d_echo.d":
------------------

module main;

import std.stdio;

int main(string[] argv)
{
   writeln(argv[1]);
   return 0;
}
-----------------

Command work with only asci characters. see attachment
Comment 1 Vladimir Panteleev 2014-10-25 02:03:54 UTC
If you want to see UTF-8 text, you need to set output console code page ("chcp 65001" or SetConsoleOutputCP(65001)).
Comment 2 Vladimir Panteleev 2014-10-25 02:05:56 UTC
See issue 1448