hSetEncoding only sets the encoding for the read side of a duplex Handle
|Reported by:||simonmar||Owned by:||simonmar|
|Type of failure:||Incorrect result at runtime||Difficulty:||Easy (less than 1 hour)|
|Test Case:||Blocked By:|
For example, calling hSetEncoding on a socket only works for reading, not writing. Can be worked around by calling socketToHandle manually to create a WriteMode socket.