Bug 89098
| Summary: | Tk/Tcl handling of UTF-8 appears broken | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Michael Fulbright <msf> | ||||||
| Component: | tcltk | Assignee: | Jens Petersen <petersen> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Bill Huang <bhuang> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9 | CC: | mihai.ibanescu, uckelman | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-02-26 07:25:04 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 89110 | ||||||||
| Attachments: |
|
||||||||
|
Description
Michael Fulbright
2003-04-17 16:47:40 UTC
Created attachment 91178 [details]
Sample program to trigger utf-8 issue
Reproduced. Wonder if this is related to the move to ucs4 for python. Indeed it is. Removing tcltk-8.3.5-ucs4-for-py.patch, it displays just fine. Misa, do you have any utf-8 test-cases for tkinter? In tcltk-8.3.5-90 I have disabled the ucs4 patch for now, since it seems to be breaking utf-8 support. But this is probably not the final solution. At least now "utf-8.wish" displays ok again, though the equivalent(?) Tkinter python script does not. Created attachment 92758 [details]
Tkinter equivalent? to utf-8.wish
Actually this script doesn't seem to display correctly with
or without the patch. What is the right way to do this with
python and Tkinter?
try: ... text=u'...' instead of ... text='...' Works on my FC2 box |