Ticket #2302 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

error messages mangle unicode characters

Reported by: guest Owned by:
Priority: normal Milestone: 6.10 branch
Component: Compiler Version: 6.8.2
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

ghc/ghci understand source code written in UTF-8. However, an error message that contains such characters will turn them into gibberish. This is especially annoying in ghci:

*> ä

<interactive>:1:0: Not in scope: `�'
*> Ȫ

<interactive>:1:0: Not in scope: data constructor `*'

Change History

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10 branch

Changed 5 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Fixed:

Fri Jul 11 16:11:16 BST 2008  Simon Marlow <marlowsd@gmail.com>
  * FIX #2302: print FastStrings in UTF-8 in error messages

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.