Writing unicode strings to the console
Sam Hu
samhudotsamhu at gmail.com
Tue Dec 18 20:02:52 PST 2012
On Tuesday, 18 December 2012 at 00:29:56 UTC, Jeremy DeHaan wrote:
> I was playing with unicode strings the other day, and have been
> searching for a way to correctly write unicode to the console.
>
> If I try something like:
>
> dstring String = "さいごの果実";
>
> writeln(String);
>
> All I get is a bunch of nonsense as if it converts the dstring
> into a regular string. Is it possible to write the unicode
> string to the console correctly?
http://forum.dlang.org/thread/suzymdzjeifnfirtbnrc@dfeed.kimsufi.thecybershadow.net#post-suzymdzjeifnfirtbnrc:40dfeed.kimsufi.thecybershadow.net
More information about the Digitalmars-d-learn
mailing list