Package: awstats
Version: 7.2+dfsg-1
Severity: wishlist
Tags: patch

Hi,

when German language is selected, the page encoding is wrong, e.g. when
displaying search engine terms. When switching to English language it’s
correct. I tracked it down to a one liner; patch with fix attached (put
it as debian/patches/0008_german_lang.patch for example).

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash, unfortunately
Init: sysvinit (via /sbin/init)

Versions of packages awstats depends on:
ii  perl  5.20.2-3+deb8u1

Versions of packages awstats recommends:
ii  coreutils           8.23-4
ii  libnet-xwhois-perl  0.90-4

Versions of packages awstats suggests:
ii  apache2 [httpd]              2.4.10-10
ii  apache2-mpm-prefork [httpd]  2.4.10-10
ii  apache2-mpm-worker [httpd]   2.4.10-10
pn  libgeo-ipfree-perl           <none>
ii  libnet-dns-perl              0.81-2
ii  libnet-ip-perl               1.26-1
ii  liburi-perl                  1.64-1

-- Configuration Files:
/etc/awstats/awstats.conf changed [not included]
/etc/awstats/awstats.conf.local changed [not included]

-- no debconf information
Description: Fix encoding in German translation.
Author: Thorsten Glaser <[email protected]>
Forwarded: no

--- a/wwwroot/cgi-bin/lang/awstats-de.txt
+++ b/wwwroot/cgi-bin/lang/awstats-de.txt
@@ -1,6 +1,6 @@
 # German message file
 # $Revision: 1.20 $ - $Date: 2008/10/05 11:21:34 $
-PageCode=iso-8859-1
+PageCode=utf-8
 message0=Unbekannt
 message1=Unbekannte (IP konnte nicht aufgel&ouml;st werden )
 message2=Sonstige

Reply via email to