[Issue 7648] Can't open file (Windows UTF8)
http://d.puremagic.com/issues/show_bug.cgi?id=7648 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC||verylonglogin@gmail.com --- Comment #5 from Denis Shelomovskij verylonglogin@gmail.com 2012-07-06 11:27:11 MSD --- (In reply to comment #1) However, what doesn't work is reading UTF8 from the commandline (using chcp 65001): Your program is written in (outdated) D1 so you are affected by Issue 1188. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7648] Can't open file (Windows UTF8)
http://d.puremagic.com/issues/show_bug.cgi?id=7648 --- Comment #3 from Martin Krejcirik m...@krej.cz 2012-03-13 15:27:03 PDT --- (In reply to comment #2) Easy, download attached archive and extract to disk. OK, tried, same error as you reported. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7648] Can't open file (Windows UTF8)
http://d.puremagic.com/issues/show_bug.cgi?id=7648 --- Comment #2 from deep0...@gmail.com 2012-03-11 07:20:56 PDT --- (In reply to comment #1) (In reply to comment #0) auto file2 = File(Привет.txt); Can't test with this filename as I have no Russian support, but it works for me Easy, download attached archive and extract to disk. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7648] Can't open file (Windows UTF8)
http://d.puremagic.com/issues/show_bug.cgi?id=7648 Martin Krejcirik m...@krej.cz changed: What|Removed |Added CC||m...@krej.cz --- Comment #1 from Martin Krejcirik m...@krej.cz 2012-03-10 16:21:07 PST --- (In reply to comment #0) auto file2 = File(Привет.txt); Can't test with this filename as I have no Russian support, but it works for me with accented characters. import std.stdio, std.stream; void main(char[][] args) { char[] filename; if (args.length==2) filename=args[1]; else filename=utfname-žlutý.txt; writefln(filename: %s, filename); File file = new File(filename); } However, what doesn't work is reading UTF8 from the commandline (using chcp 65001): D:\devel\bugsutfname filename: utfname-žlutý.txt D:\devel\bugsutfname utfname-zluty.txt filename: utfname-zluty.txt D:\devel\bugsutfname utfname-žlutý.txt Error: 1invalid UTF-8 sequence filename: OS Windows XP Czech -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---