summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-30 23:06:53 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-30 23:07:44 +0100
commit91c40c86b99b64ef91fc73f34e6d00b5d8e139ce (patch)
tree58ab5c14fb37a83515b4cf92c64d9c4a7b68cebb
parent677d943f198bc70d0ce2201f03ec00d3996333c9 (diff)
Clarify comment.
-rw-r--r--src/lib/util.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index a515437a4..30a82ee50 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -786,9 +786,8 @@ string
careful_string_filter (string s)
{
/* Filter out `bad' characters which `may' cause problems with some systems (either for DCP name or filename).
- There's no apparent list of what really is allowed, so this is a guess.
- Safety first and all that.
- */
+ * I don't know of a list of what really is allowed, so this is a guess.
+ */
/* First transliterate using libicu to try to remove accents in a "nice" way */
auto transliterated = icu::UnicodeString::fromUTF8(icu::StringPiece(s));