D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5964 - std.stdio.readln can throw a UnicodeException
Summary: std.stdio.readln can throw a UnicodeException
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 19:36 UTC by Andrej Mitrovic
Modified: 2012-02-25 15:17 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrej Mitrovic 2011-05-08 19:36:00 UTC
Only this is specified:

Throws:
StdioException on error 

But readln() will throw a UnicodeException on invalid input. Could we add that in the docs?