-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThreadScope shows garbled characters when using Unicode characters in user event #26
Comments
Original reporter: shelarcy I think that Unicode characters' thread label causes same problem. But GHC.Conc.labelThread function has another problem. So, I just report user event's one. |
Original reporter: MikolajKonarski Thank you for the report. We've had problems with non-ASCII characters in a few places and we have a few (quite ugly) work-arounds active. Some are only needed with older ght2hs, but others seem to be required regardless. Most probably the workarounds are not applied to the places where the problems you describe appear. Which version of ghk2hs do you use? |
Original reporter: MikolajKonarski Some help from an expert:
|
Original reporter: shelarcy Replying to [comment:2 MikolajKonarski]:
I'm using gtk2hs 0.12.3 with gtk+-bundle_2.22.1-20101227_win32. |
Original reporter: duncan@ I have a patch for this for ghc-events, but I'm not sure I want to apply it immediately before this release, as it's not had much testing. |
Original reporter: shelarcy
Debug.Trace.traceEventIO output Unicode characters by UTF-8 String.
"ghc-events show" can show output Unicode characters' user event correctly.
But ThreadScope can't show Unicode characters' user event correctly. ThreadScope shows garbled characters.
This is bad. Unicode character is useful to find user event for me.
I'm using GHC 7.4.1 with threadscope 0.2.1 and gtk 0.12.3, on Windows.
The text was updated successfully, but these errors were encountered: