[Python-bugs-list] [ python-Bugs-421878 ] File in a directory with a special chara
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 06 Aug 2001 15:00:53 -0700
Bugs item #421878, was opened at 2001-05-06 13:12
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421878&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gábor BORGULYA (borgulya)
>Assigned to: Martin v. Löwis (loewis)
Summary: File in a directory with a special chara
Initial Comment:
Using IDLE I tryed to save my work in the directory
C:\Documents and Settings\tdk.000\Dokumentumok\python\saját
but it failed:
Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "c:\program files\python21\lib\lib-tk\Tkinter.py", line 1285, in __call__
return apply(self.func, args)
File "C:\PROGRA~1\Python21\Tools\idle\IOBinding.py", line 145, in save_a_copy
self.writefile(filename)
File "C:\PROGRA~1\Python21\Tools\idle\IOBinding.py", line 152, in writefile
f = open(filename, "w")
UnicodeError: ASCII encoding error: ordinal not in range(128)
After a log of tries I have renamed the directory: (sajat instead of saját)
C:\Documents and Settings\tdk.000\Dokumentumok\python\saját
and the file was finally saved.
I use WIN2000P.
I hope you can fix it.
----------------------------------------------------------------------
Comment By: Gábor BORGULYA (borgulya)
Date: 2001-05-09 10:31
Message:
Logged In: YES
user_id=131307
Summary:
IDLE couldn't save into the directory
C:\Documents and Settings\tdk.000\Dokumentumok\python\saját
but when it was renamed to
C:\Documents and Settings\tdk.000\Dokumentumok\python\sajat
(without the accent above the last "a") it suceeded.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=421878&group_id=5470