Skip to content

TextEncoding lacks Eq and Show instances

When trying to debug a Handle encoding problem today, I noticed that although I can use hGetEncoding to get the encoding, I cannot find out what that encoding actually is, as there is neither an Eq nor a Show instance for TextEncoding.

Trac metadata
Trac field Value
Version 6.12.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information