Unicode characters in the command line get messed up
The command line isn't properly decoded to Unicode. The following program demonstrates the bug:
import System main = do
[a] <- getArgs putStrLn (show a)
When called like this:
- /bug ä
The program will output this:
"\195\164"
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Runtime System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |