From dc8b58057486a2538e0a9853214b98edf2c21718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 2 Oct 2020 07:09:58 +0200 Subject: [PATCH] degesch: expand comment about character encoding --- degesch.c | 9 +++++++-- 1 file 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. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -