[Issue 1608] Exceptions don't work with UTF-8
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 29 06:22:04 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1608
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
------- Comment #1 from smjg at iname.com 2007-10-29 08:22 -------
It appears that issue 1448 was fixed for stdout but strangely not for stderr.
But what happens on mine (DMD 1.022, Windows Vista) is different:
import std.stdio;
void main()
{
writefln("writefln: test_\u00E1_end");
fwritefln(stdout, "stdout: test_\u00E1_end");
fwritefln(stderr, "stderr: test_\u00E1_end");
throw new Exception("test_\u00E1_end");
}
writefln: test_á_end
stdout: test_á_end
stderr: test_��_end
Error: except: test_��_end
(In the last two cases I get squares - they seem to display as question marks
in some fonts.)
--
More information about the Digitalmars-d-bugs
mailing list