mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
- using Scintilla UTF8 code-page internally for most encodings,
solves some encoding/code-page problems, the behaviour slightly changes:
+ if DefaultEncoding is not set (or set to DefaultEncoding = -1),
initial encoding is set to current system's code-page, e.g. Windows-1252
Scintilla's internal UTF8 code-page is used for edit box,
that means copy/paste from clipboard may show characters which are
not valid in this char-set of the selected code-page.
Trying to save a file with this invalid UTF8 chars will result in conversion dialog:
("... encoding from ANSI to non-ANSI (and vice versa) may replace unsupported text with default characters ...")
+ if DeaultEncoding = 0 (ANSI):
a) if LoadASCIIasUTF8 = 0 (FALSE), Scintilla's internal ANSI code-page is used for edit box
that means copy/paste from clipboard may convert chars to ANSI ()
b) if LoadASCIIasUTF8 = 1 (TRUE), Scintilla's internal UTF8 code-page is used for edit box
that means the universal UTF8 encoding is used
+ if DeaultEncoding = nnn (corresponding to some ANSI code-page encoding):
same as if DefaultEncoding is set to corresponding code-page (see section "DefaultEncoding is not set")
|
||
|---|---|---|
| .. | ||
| Dialogs.c | ||
| Dialogs.h | ||
| Dlapi.c | ||
| Dlapi.h | ||
| Edit.c | ||
| Edit.h | ||
| Helpers.c | ||
| Helpers.h | ||
| Notepad3.c | ||
| Notepad3.h | ||
| Notepad3.rc | ||
| Notepad3.vcxproj | ||
| Notepad3.vcxproj.filters | ||
| Notepad3.vcxproj.user | ||
| Notepad3.ver | ||
| Print.cpp | ||
| resource.h | ||
| SciCall.h | ||
| Styles.c | ||
| Styles.h | ||
| Version.h | ||
| VersionEx.h | ||