utf-8?

Georg Wrede georg.wrede at iki.fi
Tue Mar 17 08:47:32 PDT 2009


Steve Teale wrote:
> import std.stdio;
> 
> void main()
> {
>    string s = "Die Walküre";
>    writefln(s);
> }
> 
> Gives error - invalid utf-8 sequence. I pasted the text from a Wiki
> page that claims to be utf-8. What's happening?

I pasted your code above and compiled and ran it with no problem.
I'm on linux: Fedora 10, and dmd v2.026.






More information about the Digitalmars-d mailing list