From 1c95b5a33b82fdc2fde2715d6b56db1d530c3fad Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 20 Dec 2019 18:26:15 -0500 Subject: Set LANG in cgit filters ttpre needs to know about UTF-8 too so it can bold/italic non-ASCII chars. --- www/git.causal.agency/about-filter.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/git.causal.agency/about-filter.sh') diff --git a/www/git.causal.agency/about-filter.sh b/www/git.causal.agency/about-filter.sh index 216c86e9..26a52648 100644 --- a/www/git.causal.agency/about-filter.sh +++ b/www/git.causal.agency/about-filter.sh @@ -1,8 +1,9 @@ #!/bin/sh +export LANG=en_US.UTF-8 case "$1" in (*.[1-9]) - /usr/bin/mandoc -T utf8 \ + /usr/bin/mandoc \ | /usr/local/libexec/ttpre \ | /usr/bin/sed -E \ 's,([a-z0-9_-]+)[(]([1-9])[)],&,g' -- cgit 1.4.1