This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ingemar
Recipients ingemar
Date 2011-01-04.19:44:14
SpamBayes Score 8.056861e-10
Marked as misclassified No
Message-id <1294170257.81.0.980912064683.issue10828@psf.upfronthosting.co.za>
In-reply-to
Content
I have a set of programs written for Python3.1 and running well on Kubuntu. The source files are located on a Samba server on a Kubuntu box.  Several of the programs contain Python/PyQt  code to start other programs in the set (   QtCore.QProcess().startDetached(kommando)   )
I have had no problems using non-ascii filenames in the Linux environment.


When I tried to check the programs in a MS Windows environment  (Win2K with Python 3.1.2 in a VirtualBox in a Kubuntu box) then Python complained:
ImportError: module xxx not found..

The ugly solution has been to refrain from the use of non-ascii characters in the names of files imported from. This involved the filename of the imported file and also one line of code changed in the importing file.

Example: 
1) rename  "gui_jämföra.py"   --->   "gui_jamfora.py"
2) in the importing file  "jämföra.py"  change one line:
"from  gui_jämföra  import  * "   --->   "from  gui_jamfora  import  gui_Jämföra"

Is there a beautiful solution that will permit me to use non-ascii utf-8 also in the file names of files imported from?
History
Date User Action Args
2011-01-04 19:44:17ingemarsetrecipients: + ingemar
2011-01-04 19:44:17ingemarsetmessageid: <1294170257.81.0.980912064683.issue10828@psf.upfronthosting.co.za>
2011-01-04 19:44:14ingemarlinkissue10828 messages
2011-01-04 19:44:14ingemarcreate