Bug#561834: vdradmin-am and UTF8

Johan Thelmén jth at home.se
Sat Feb 20 00:02:58 UTC 2010


>That shouldn't happen there must be another bug hidden somewhere. Please provide the following information:
>
>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'

tv:~ locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=
tv:~ cat /var/lib/vdradmin-am/vdradmind.conf | grep LANG
LANG =
LANGUAGE = English
tv:~ cat /etc/default/vdr | grep VDR_
#VDR_LANG=C
#VDR_CHARSET_OVERRIDE=ISO-8859-9
tv:~ cat /etc/default/locale | egrep 'LC|LANG'
LANG=sv_SE.UTF-8
tv:~ cat /etc/environment | egrep 'LC|LANG'
LANG=sv_SE.UTF-8


So I have now changed LANG = in /var/lib/vdradmin-am/vdradmind.conf to LANG = sv_SE  and that fixed the nameofday  http://87.227.108.179/vdr_dayname.png part.


But it still fails the recording part from what I guess it is not converting the charset=ISO-8859-1 back to UTF8 when it receives the input from the browser when recording a program.
This one http://87.227.108.179/vdrutf8.jpg  it display the program name correct in the recording webpage and then wrong when looking at the webtimer page when it use the input of the browser.
-- 
Johan Thelmén





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