Skip to content

GHC displays Unicode improperly

Summary

When I enter a bottom character (Unicode x22A5) GHC responds with '\8869'. Yet in another situation, it does display ⊥. So GHC is capable of displaying Unicode characters but chooses not to. And displays them in decimal instead of hexidecimal.

Steps to reproduce

Enter '\x22a5'.

Should see ⊥

What do you expect the reproducer described above to do?

Environment

  • GHC version used: The Glorious Glasgow Haskell Compilation System, version 8.6.5

Optional:

  • Operating System: Ubuntu MATE 20.04.3 (extremely fragile!!!)
  • System Architecture: ASUS A88XM-8 AMD 64bit, 32GB RAM, 4TB HDD
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information