[Issue 2742] std.stdio assumes console works in utf-8

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 26 16:01:55 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=2742



--- Comment #5 from Stewart Gordon <smjg at iname.com> 2010-09-26 16:01:10 PDT ---
I suppose the way to go about it is to create wrapper stream classes that
provide encoding conversion.  And have ready-made instances for stdin/out/err,
with the codepage detected at launch.

The difficulty I can see is seekability, but this probably isn't needed given
that it'll be primarily for stdio (which are inherently not seekable) and text
files (for which seeking isn't particularly useful).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list