[Bug 1051760] [NEW] Ubuntu 12.04 root python got “unknown encoding: utf-8”
Launchpad Bug Tracker
1051760 at bugs.launchpad.net
Mon Sep 17 19:25:56 UTC 2012
You have been subscribed to a public bug:
python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> u'foo'.encode('utf-8')
'foo'
>>>
sudo python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> u'foo'.encode('utf-8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
LookupError: unknown encoding: utf-8
>>>
---
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
NonfreeKernelModules: fglrx
Package: python 2.7.3-0ubuntu2
PackageArchitecture: amd64
ProcEnviron:
LANGUAGE=zh:zh_CN:en
TERM=xterm
PATH=(custom, user)
LANG=zh_CN.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Tags: precise
Uname: Linux 3.2.0-30-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-29 (140 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev sambashare scanner tape vboxusers video
** Affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-collected bot-comment precise
--
Ubuntu 12.04 root python got “unknown encoding: utf-8”
https://bugs.launchpad.net/bugs/1051760
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
More information about the foundations-bugs
mailing list