Red Hat Bugzilla – Bug 246385
UTF-8 with ncurses
Last modified: 2007-11-30 17:12:09 EST
Description of problem:
It seems that the Python 2.5 in F7 is linked with ncurses so that the display of
UTF-8 characters seems messed up.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try this small code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import curses, locale
s = curses.initscr()
s.addstr(u'\u20ac U+20ac Euro Dollar\n'.encode('utf-8'))
How about link python to ncursesw library contained in
ncurses-5.6-6.20070303.fc7 to solve this UTF-8 problem?
Sounds good; fixed in CVS. Assuming it plays out okay in rawhide, will get
pushed to F7-updates at some point
Wonderful! This is very nice! Thank you!
P.S. Where can I download the updated version to try it out first? Thanks!
*** Bug 242583 has been marked as a duplicate of this bug. ***
*** Bug 250782 has been marked as a duplicate of this bug. ***