diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-08-31 01:23:49 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:22:21 +0200 |
commit | b729ee46ebf139399f695c2443cc5a6fdbcbdbe2 (patch) | |
tree | 021c804aee7a91796ec51419020fcf35f819c099 /src/interface-gtk/interface.c | |
parent | e384e4fde604564a3bc140b89bb8c1556a726464 (diff) | |
download | sciteco-b729ee46ebf139399f695c2443cc5a6fdbcbdbe2.tar.gz |
Codepage guessing is done in .teco_ini (refs #5)
* There isn't much we can do anyway.
We can detect if it's Unicode and otherwise default to _some_ codepage.
However, we do not even known which codepage should be preferred.
* This is actually trivial to implement in pure SciTECO.
Having it in the profile gives you the ability to customize the default non-UTF code page.
E.g. if you are working a lot with KOI-8 documents, you could change <1EE> to <204EE>.
* Since the Unicode validity check is a noticable slowdown,
we limit it to the first 1024 bytes.
This speeds up startup significantly compared to checking all codepoints in every document.
Diffstat (limited to 'src/interface-gtk/interface.c')
0 files changed, 0 insertions, 0 deletions