#5006: Write locale character encoding to hpc html report
---------------------------------+------------------------------------------
    Reporter:  basvandijk        |       Owner:  andy@…         
        Type:  bug               |      Status:  new            
    Priority:  normal            |   Component:  Code Coverage  
     Version:  7.0.2             |    Keywords:                 
    Testcase:                    |   Blockedby:                 
          Os:  Unknown/Multiple  |    Blocking:                 
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown   
---------------------------------+------------------------------------------
 When generating an hpc html report of a Haskell source file containing
 non-ASCII characters, the characters are not interpreted correctly by the
 browser. This is caused by a lacking character encoding tag in the html
 file which causes the browser to fall back to some default encoding which
 is probably incorrect.

 The attached patch writes the
 [http://hackage.haskell.org/packages/archive/base/latest/doc/html/System-
 IO.html#v:localeEncoding localeEncoding] to the html file.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5006>
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

Reply via email to