|
|
Choosing A Webhost: |
Re: Re: Unknown encoding after 0.1.14: msg#00012version-control.codeville.devel
On Monday 26 December 2005 09:06 pm, Luis Otero wrote: > > Well that's just great. You're getting a language code back instead of an > > encoding (second argument). My machine (FC4) returns the right encoding > > for your locale, as do both debian machines I've checked. One of the > > debian machines lists "3.1" in /etc/debian_version, is that what you get? > > Yep. > > > Can you give the output of the following: > > python -c "import sys; print sys.stdin.encoding" > > ISO-8859-15 > > > python -c "import locale; print locale.getpreferredencoding()" > > ISO-8859-15 This is correct. When one uses different locales in categories, getdefaultlocale does not return a right answer for encoding anyway. getpreferredencoding should be used, IMHO. Okuji
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Unknown encoding after 0.1.14, Luis Otero |
|---|---|
| Next by Date: | Codeville 0.1.14 client.py comment encoding error and patch, Toby Betts |
| Previous by Thread: | Re: Unknown encoding after 0.1.14, Luis Otero |
| Next by Thread: | Codeville 0.1.14 client.py comment encoding error and patch, Toby Betts |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |