Ticket #3837 (closed bug: fixed)
hsc2hs and utf-8
| Reported by: | TaruKarttunen | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.2 |
| Component: | hsc2hs | Version: | 6.12.2 |
| Keywords: | Cc: | pho@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by igloo) (diff)
hsc2hs is broken on a source file containing certain utf-8 characters in the comments.
Attached is an example module.
The probable culprit is:
showCChar c = ['\\',
intToDigit (ord c `quot` 64),
intToDigit (ord c `quot` 8 `mod` 8),
intToDigit (ord c `mod` 8)]
in hsc2hs code.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

