std.net.curl get webpage asia font issue

Sam Hu samhudotsamhu at gmail.com
Thu Jun 7 18:03:47 PDT 2012


On Thursday, 7 June 2012 at 10:43:32 UTC, Dmitry Olshansky wrote:
>> string content = get("dlang.org");
>
> It's simple this line you "convert" whatever site content was 
> to unicode. Problem is that "convert" is either broken or it's 
> simply a cast whereas it should re-encode source as unicode. So 
> the way around is to get it to array of bytes and decode 
> yourself.
>

Thanks.May I know how ?Appreciated a piece of code segment.


More information about the Digitalmars-d-learn mailing list