Turnign greek-iso filenames => utf-8 iso

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Jun 12 04:31:46 EDT 2013


On Wed, 12 Jun 2013 08:02:24 +0000, Νικόλαος Κούρας wrote:

> i tried to insert
> print( filename )
> sys.exit(0)

That's not very useful. That will just print ONE file name, then stop. 
You have how many files in there? Two? Twenty? What if the problem does 
not lie with the first one?

> just before the execute
> and the output is just Pacman.exe as seen in
> 
> http://superhost.gr/?page=files.py

Wrong. The output is:

Internal Server Error

The server encountered an internal error or misconfiguration and was 
unable to complete your request.  ...


> Seens the encoding precedure successfully turned all the filenames from
> greek-iso to utf-8 without failing, why woul it still be encoding issues
> when it comes to execute?

Because the problems are unrelated. Just because you fix one bug, doesn't 
mean all the other bugs magically disappear.



-- 
Steven



More information about the Python-list mailing list