std.net.curl get webpage asia font issue

Kevin kevincox.ca at gmail.com
Thu Jun 7 03:35:33 PDT 2012


On 07/06/12 02:57, Sam Hu wrote:
> string content = get("dlang.org");
> writefln("%s\n",content);
>
> So my very simple question is how to retrieve information from a
> webpage which could possibily contains asia font (like Chinese font)?

I'm not really sure but try:
wstring content = get("dlang.org");

Also make sure your terminal is set up for unicode.


More information about the Digitalmars-d-learn mailing list