summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtx-patterns.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/context/lua/mtx-patterns.lua b/scripts/context/lua/mtx-patterns.lua
index f887d8c6c..5e2b2d902 100644
--- a/scripts/context/lua/mtx-patterns.lua
+++ b/scripts/context/lua/mtx-patterns.lua
@@ -286,8 +286,11 @@ function scripts.patterns.load(path,name,mnemonic,ignored)
used[char(b)] = true
elseif ct == "nd" then
-- number
+ elseif ct == "cf" then
+ report("%s: %s line with suspected utf character %C, category %s: %s",basename,"keeping",b,ct,line)
+ used[char(b)] = true
else -- maybe accent cf (200D)
- report("%s: removing line with suspected utf character %C, category %s: %s",basename,b,ct,line)
+ report("%s: %s line with suspected utf character %C, category %s: %s",basename,"removing",b,ct,line)
splitdata[i] = ""
break
end