Cost centre names are now in UTF-8 (#5559)
authorSimon Marlow <marlowsd@gmail.com>
Fri, 4 Nov 2011 16:02:17 +0000 (16:02 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 7 Nov 2011 09:17:33 +0000 (09:17 +0000)
commit630b89551b14324fb1bfea853be700d8f32106c2
treeeda0cecc7062ce3ff12905099d12920c3eeb8257
parent1ece7b27a11c6947f0ae3a11703e22b7065a6b6c
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
compiler/codeGen/StgCmmProf.hs
compiler/profiling/CostCentre.lhs