On Wednesday, 16 November 2016 at 22:43:55 UTC, lafoldes wrote:
Hi,
I'd like to create a UTF16 text file on Windows 7, using std.stdio.File and std.stdio.File.write... functions (so no binary write, no Win32 functions).

I was experimenting with variations of this codeā€¦:

import std.stdio;

int main(string[] argv)
{
    auto output = File("wide_text.txt", "wt");
    output.writeln!wstring("A"w);
    return 0;
}

What C runtime do you use?

Reply via email to