#5559: heap profile character encoding confusion
-------------------------------------------------+--------------------------
Reporter: guest | Owner: simonmar
Type: bug | Status: new
Priority: high | Milestone: 7.4.1
Component: Documentation | Version: 7.0.3
Keywords: heap profile, character encoding | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
-------------------------------------------------+--------------------------
Comment(by marlowsd@…):
commit 630b89551b14324fb1bfea853be700d8f32106c2
{{{
Author: Simon Marlow <[email protected]>
Date: Fri Nov 4 16:02:17 2011 +0000
Cost centre names are now in UTF-8 (#5559)
So the .prof file will be UTF-8. This is mostly ok, except that the
RTS doesn't calculate the column widths correctly (it assumes bytes =
chars).
hp2ps doesn't do anything sensible with Unicode strings, it just dumps
the bytes into the .ps file.
compiler/codeGen/CgProf.hs | 8 +++++---
compiler/codeGen/StgCmmProf.hs | 8 +++++---
compiler/profiling/CostCentre.lhs | 16 ++++++++++------
3 files changed, 20 insertions(+), 12 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5559#comment:2>
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