[Idle-dev] [ idlefork-Patches-710733 ] Improving source encoding dialog

SourceForge.net noreply@sourceforge.net
Thu, 27 Mar 2003 06:10:52 -0800


Patches item #710733, was opened at 2003-03-27 15:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=710733&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Nobody/Anonymous (nobody)
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=710733&group_id=9579