Re: non standard path characters
- From: aspineux <aspineux@xxxxxxxxx>
- Date: 31 May 2007 04:45:21 -0700
I thing you should change the code page before to run the test, doing
something like :
c:\> chcp 850
c:\> ....\python.exe ......\test.py
look for the good code page for you, maybe 850, 437 or 1230 or 1250
should work
Regards
On 31 mai, 12:17, Robin Becker <r...@xxxxxxxxxxxxx> wrote:
A kind user reports having problems running the reportlab tests because his path
has non-ascii characters in it eg
.....\Mes documents\Mes Téléchargements\Firefox\...
somewhere in the tests we look at the path and then try and convert to utf8 for
display in pdf.
Is there a standard way to do these path string conversions?
Paths appear to come from all sorts of places and given the increasing use of
zip file packaging it doesn't seem appropriate to rely on the current platform
as a single choice for the default encoding.
--
Robin Becker
.
- References:
- non standard path characters
- From: Robin Becker
- non standard path characters
- Prev by Date: Python memory handling
- Next by Date: TR: embeded python progam into visual C++ application crash
- Previous by thread: non standard path characters
- Next by thread: Re: non standard path characters
- Index(es):