aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-02 07:09:58 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-02 07:09:58 +0200
commitdc8b58057486a2538e0a9853214b98edf2c21718 (patch)
treed7add449921fea3b3969538f5eec7b2594be709e
parent2d9856cca866cd3aa9b4fb357a9636c283b9d645 (diff)
downloadxK-dc8b58057486a2538e0a9853214b98edf2c21718.tar.gz
xK-dc8b58057486a2538e0a9853214b98edf2c21718.tar.xz
xK-dc8b58057486a2538e0a9853214b98edf2c21718.zip
degesch: expand comment about character encoding
-rw-r--r--degesch.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index 04a09e8..f5c0def 100644
--- a/degesch.c
+++ b/degesch.c
@@ -1157,8 +1157,13 @@ input_el_new (void)
// --- Application data --------------------------------------------------------
-// All text stored in our data structures is encoded in UTF-8.
-// Or at least should be. The exception is IRC identifiers.
+// All text stored in our data structures is encoded in UTF-8. Or at least
+// should be--our only ways of retrieving strings are: via the command line
+// (converted from locale, no room for errors), via the configuration file
+// (restrictive ASCII grammar for bare words and an internal check for strings),
+// and via plugins (meticulously validated).
+//
+// The only exception is IRC identifiers.
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -