Hi,

one of the biggest struggle to me is to guess the right character set for a file
you open in PSPad. Yes, you can specify it, but I'm working in a team (with
people tending to use different editors) so you never know exactly how somebody
else wrote the file.

I think PSPad has an internal list where it keeps track of the character set
used last time when editing the file, but this still leaves the first open
operation to be carefully chosen by the user.

I would like to suggest as a new feature to additionally support the EMACS way
of telling the editor which character set it should use. The first line of a
file has to contain a string like:
   -*- coding: utf-8 -*-

To avoid problems, this is usually inside a comment of the used language:
#  -*- coding: utf-8 -*-
or
/* -*- coding: utf-8 -*- */
or
// -*- coding: utf-8 -*-

This would persistently make sure that the file is opened using the right
character set. And it even would let EMACS- and PSPad-Lover work smoothly
together :-)

I'm no expert in EMACS, but I feel this could be a valuable enhancement of
character set handling in PSPad. For more details see
http://www.gnu.org/software/emacs/manual/html_node/emacs/Recognize-Coding.html#R
ecognize-Coding

Keep up the good work!

Holger

-- 
<http://forum.pspad.com/read.php?2,42161,42161>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem