#5512: UTF-16//ROUNDTRIP encoding behaves weirdly
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.4.1
Component: libraries/base | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Changes (by igloo):
* milestone: => 7.4.1
Comment:
What's the expected output? I got a 0 byte output file, but if I add
"hClose h" then I get
{{{
$ ls -l out.temp; hexdump -C out.temp
-rw-r--r-- 1 ian ian 11 Nov 10 01:01 out.temp
00000000 fe ff 00 48 00 69 e8 00 48 00 69 |...H.i..H.i|
0000000b
}}}
(HEAD, amd64/Linux)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5512#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs