Opened 6 years ago

Closed 6 years ago

#5519 closed bug (duplicate)

Some unicode symbols are not allow in literal characters or strings

Reported by: ertai Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.2.1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


main = putChar 'ₖ'

This program is rejected with following error message: lexical error in string/character literal at character '\8342'

There is at least a few other characters with the same issue, for instance this whole string should be accepted: "ₕₖₗₘₙₒₚᵣₛₜᵤᵥₓ"

A related issue is that GHCi do not let me paste these characters either.

Change History (1)

comment:1 Changed 6 years ago by

Resolution: duplicate
Status: newclosed

Duplicate of #5518

Note: See TracTickets for help on using tickets.