Message146652
| Author |
roger.serwy |
| Recipients |
Ramchandra Apte, ezio.melotti, kbk, ned.deily, roger.serwy |
| Date |
2011年10月30日.18:43:11 |
| SpamBayes Score |
2.32048e-09 |
| Marked as misclassified |
No |
| Message-id |
<1320000192.43.0.725719050405.issue13265@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I can reproduce the problem with Ubuntu 11.04 with Python 3.2. The WidgetRedirector calls tk_call with a tuple containing unencoded Unicode strings.
Attached is a patch to encode all arguments if the argument has the "encode" attribute. This seems to fix the problem, but can someone who knows more about Python and Tk's Unicode handling take a look? |
|