thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Add an option to save files in UTF-8 when ASCII, and not ANSI, detected #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In many codepages binary representations of many characters is the same as 
ASCII. This does mean that PyScripter will recognize few ASCII lines of 
simple text, as the ones in this bug report, as ANSI and will decide to save 
it according when non ASCII text is added during PyScripter utilization (such 
as Euro character). I'm pretty sure this is something that MOST users don't 
really want to happen. Nowadays most of the users should want files to be 
saved in UTF-8 always. So an option to default save to UTF-8 when ASCII text 
(only first 7 bits used) is detected, would be very appropriate and 
desirable. 

Original issue reported on code.google.com by cez...@gmail.com on 10 Jan 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Tools, Options, IDE Options, Default File Encoding for new files.
Also mannually, Edit, File Format.
Read also the help file topic on File Encodings.

Original comment by pyscripter on 31 Jul 2010 at 10:56