In article <p06020402c92c14625...@[192.168.1.13]>, Jym Feat <j...@ai.univ-paris8.fr> wrote:
> I'm having issues when using python 2.6.1 in interactive mode : it wouldn't > let me type anything but plain ascii... while the terminal itself will > properly display french accented characters as entered on the fly; > > so I looked into site.py, found that silly instruction was still there on > line 456, changed it, to utf-8, but still no go... > > hunting for a solution on the web, I learned about PYTHONIOENCODING and set > it to utf-8 in my environment: still no accented french chars... > > then I checked the 'escape non ascii' option in the terminal settings: now I > can type words like Noël or Pâques, but there are still some oddities, like > the ¦ ligature for instance, that display as ?^?^? > > has anybody solved that issue? Without looking at it more closely, my guess would be an issue (or difference) between the Apple-supplied editline library which Apple uses as a substitute for the GNU readline library in the system-supplied Python 2.6.1 in OS X 10.6. If you have the time, please try using the python.org 32-bit-only python 2.7.1 installer which is linked with GNU readline and then the python.org 64-bit python 2.7.1 which is currently linked with editline. If the problem is duplicated there, please open an issue on the python bug tracker (bugs.python.org). -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG