Maby two bugs in vdradmin-am version 3.6.10-3

Milan Kratochvíl krata.milan at seznam.cz
Mon Nov 13 19:22:26 UTC 2017


Hi developers,

sorry for this email, but my english is poor and I didn't sent bug by 
bug report system.

My first trouble is message about internal error and second trouble is 
charset in web browser.

"Internal error:Wide character in memGzip at /usr/bin/vdradmind line 1436"
This message is in red box, in right side of web page. On left side is 
normal menu with good charset.
I try found it and I change sub LibGZip to
sub LibGZip{
     my $content = shift;
     use Encode qw(encode decode);
     return (Compress::Zlib::memGzip(encode("utf8",$$content)));
}

After this change inst "Internal error" but charset in web page is fail.
(example : "Pondělí, 13.11.201720:00-23:00VůnÄ› ženy")
Intrasting is so names of days has good charset, but all others has fail 
charset.

Then I change encode from utf8 to ISO-8859-1 and now the some example is 
"Pond?l�, 13.11.201720:00-23:00Vůně ženy"
Intrasting is so names of days has badcharset and all others has good 
charset.

So my system is Mint 18.2 Cinnamon 64 bit instaled on Dell.
web browser is Firefox 55.0.2
vdradmin-am is version  3.6.10-3 from deb package
and next informacions
1. The output of the `locale` command
2. cat /var/lib/vdradmin-am/vdradmind.conf | grep LANG
3. cat /etc/default/vdr | grep VDR_
4. cat /etc/default/locale | egrep 'LC|LANG'
5. cat /etc/environment | egrep 'LC|LANG'

locale
LANG=cs_CZ.UTF-8
LANGUAGE=
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=

cat /var/lib/vdradmin-am/vdradmind.conf | grep LANG
LANG = cs_CZ.utf8
LANGUAGE = English

cat /etc/default/vdr | grep VDR_
output is empty

cat /etc/default/locale | egrep 'LC|LANG'
LANG="cs_CZ.UTF-8"

cat /etc/environment | egrep 'LC|LANG'
output is empty because fie not exists.

Kind regards
Milan Kratochvíl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20171113/47df524f/attachment.html>


More information about the pkg-vdr-dvb-devel mailing list