[Idle-dev] [ idlefork-Patches-710733 ] Improving source encoding dialog
SourceForge.net
noreply@sourceforge.net
Fri, 09 May 2003 17:52:47 -0700
Patches item #710733, was opened at 2003-03-27 09:10
Message generated for change (Comment added) made by kbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=710733&group_id=9579
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Kurt B. Kaiser (kbk)
Summary: Improving source encoding dialog
Initial Comment:
This patch improves the error message a user gets
when saving a file with non-ASCII characters, and no
source encoding is specified. It does so by:
- adding a dialog EncodingMessage, which contains
the line to add in a fixed-font entry widget, and which
has a button to add that line to the file automatically.
- adding a configuration option EditorWindow/encoding,
which has three possible values: none, utf-8, and
locale. none is the default; IDLE will show this dialog
when non-ASCII characters are encountered. utf-8
means that files with non-ASCII characters are saved
as utf-8-with-bom. locale means that files are saved
in the locale's encoding; the dialog is only display if
the source contains characters outside the locale's
charset.
----------------------------------------------------------------------
>Comment By: Kurt B. Kaiser (kbk)
Date: 2003-05-09 19:52
Message:
Logged In: YES
user_id=149084
Applied.
IOBinding.py 1.15
config-main.def 1.14
configDialog.py 1.52
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=710733&group_id=9579