I've problem while importing signatures.
My script:
#!/bin/bash
FILES=/opt/import/sig/*
for f in $FILES
do
signature=`cat $f`
name=`echo $f|sed 's//opt/import/sig///g'`
echo $name
zmprov ma $name zimbraPrefMailSignatureEnabled TRUE
zmprov ma $name zimbraPrefMailSignatureStyle internet
zmprov ma $name zimbraPrefMailSignature "$signature"
done
all is ok but I get wrong national characters. I've signatures in UTF8 files. Where is the problem ?
Encoding while import Signatures
Encoding while import Signatures
Sorry, I found problem. I set locale LC_ALL to pl_PL.UTF8 and its ok now.
Re: Encoding while import Signatures
Hi,
I have the same problem, using zimbra 8.8.15 and centos 7, can you give detail how do you solved, what have you cahnged and if cahnging this config any is wrong after this change?
thanks
I have the same problem, using zimbra 8.8.15 and centos 7, can you give detail how do you solved, what have you cahnged and if cahnging this config any is wrong after this change?
thanks
Re: Encoding while import Signatures
Doesn't the answer above your post solve the problem?nirt wrote:Hi,
I have the same problem, using zimbra 8.8.15 and centos 7, can you give detail how do you solved, what have you cahnged and if cahnging this config any is wrong after this change?
thanks