#2058: Ghci tab-completion cannot handle Unicode
-------------------------+--------------------------------------------------
Reporter: desegnis | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.9 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Linux
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2058>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs