[GHC] #11096: Builtin encoder/decoder should be used for Latin-1

GHC ghc-devs at haskell.org
Sun Nov 15 15:14:29 UTC 2015


#11096: Builtin encoder/decoder should be used for Latin-1
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  hvr
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by bgamari:

Old description:

> Filed on behalf of hvr.
>
> Currently `mkTextEncoding'` delegates decoding/encoding from/to latin-1
> to `iconv`. This shouldn't be necessary as we have latin-1 an encoder in
> `base`. Let's use it.

New description:

 Filed on behalf of hvr.

 Currently `mkTextEncoding'` delegates decoding/encoding from/to latin-1 to
 `iconv`. This shouldn't be necessary as we have latin-1 an encoder in
 `base`. Let's use it like we do the built-in ASCII codec.

--

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11096#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list