Ticket #2058 (closed bug: duplicate)
Ghci tab-completion cannot handle Unicode
| Reported by: | desegnis | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.12.1 |
| Component: | GHCi | Version: | 6.9 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Ghci on *nix is capable of handling input Unicode identifiers encoded as UTF-8:
Prelude> let ŝaŭmmanĝaĵo = "hmmm..." Prelude> let identifier_α = () Prelude> let test_π = 1 Prelude> let test_ρ = 2 Prelude> ŝaŭmmanĝaĵo "hmmm..."
However, there is no working tab completion for those identifiers:
Prelude> ŝa<TAB><TAB><TAB> -- Nothing happens Prelude> identifier_� -- Tab-completed garbage Prelude> test_<TAB> -- Unreadable alternatives
Since code input is interpreted as UTF-8, tab-completion output should be converted to UTF-8, too.
Change History
Note: See
TracTickets for help on using
tickets.
