Bug 246385 - UTF-8 with ncurses
UTF-8 with ncurses
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
i386 Linux
low Severity urgent
: ---
: ---
Assigned To: James Antill
Fedora Extras Quality Assurance
: 242583 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-07-01 12:36 EDT by Granville Xiong
Modified: 2007-11-30 17:12 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-06 16:32:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Granville Xiong 2007-07-01 12:36:28 EDT
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):


How reproducible:


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'))

Actual results:

Expected results:

Additional info:

How about link python to ncursesw library contained in
ncurses-5.6-6.20070303.fc7 to solve this UTF-8 problem?
Comment 1 Jeremy Katz 2007-07-06 16:32:24 EDT
Sounds good; fixed in CVS.  Assuming it plays out okay in rawhide, will get
pushed to F7-updates at some point
Comment 2 Granville Xiong 2007-07-07 22:07:52 EDT
Wonderful! This is very nice! Thank you!
P.S. Where can I download the updated version to try it out first? Thanks!
Comment 3 Jeremy Katz 2007-08-16 20:55:50 EDT
*** Bug 242583 has been marked as a duplicate of this bug. ***
Comment 4 Jeremy Katz 2007-08-24 09:54:26 EDT
*** Bug 250782 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.