Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2295 (closed defect: wontfix)

Opened 10 years ago

Last modified 10 years ago

cp720 encoding not supported by default

Reported by: xpixelz Owned by:
Priority: normal Milestone:
Component: TurboGears Version: 2.0b7
Severity: major Keywords: cp720, encoding, arabic
Cc:

Description

OS : Windows Vista Home Edition
Python : 2.6

... File "C:\Python26\lib\optparse.py", line 1648, in print_help

file.write(self.format_help().encode(encoding, "replace"))

LookupError?: unknown encoding: cp720

the problem can be resolved by
Adding cp720.py to "lib/encodings" of the working project (permanent solution)
or
changing the working code page (under MSDOS I used "chcp 437" (temporary solution)

Change History

comment:1 Changed 10 years ago by jorge.vargas

Could you give us a better explanation? it seems like an error with your python and windows rather than turbogears.

comment:2 Changed 10 years ago by mramm

  • Status changed from new to closed
  • Resolution set to wontfix

This is a python/windows issue (not sure why vista isn't using unicode on the dos prompt, but clearly it's not). Related python bug can be found here:

 http://bugs.python.org/issue1616979

Note: See TracTickets for help on using tickets.