Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234528

Summary: net-proxy/squid-2.7.3 non-iso characters in config files
Product: Gentoo Linux Reporter: Arthur Hagen <art-gt>
Component: [OLD] ServerAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: pchrist
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
URL: h
Whiteboard:
Package list:
Runtime testing required: ---

Description Arthur Hagen 2008-08-12 07:44:18 UTC
/etc/squid/squid.conf and squid.conf.default in net-proxy/squid-2.7.3 uses a non-standard character set, which is neither iso-8859-1 nor utf-8.

Two places, there is a character 0x79 0x92 0x98 (\342\210\222 in octal).  This would have been a German minus sign in UTF-8, but the marker is missing (cut/paste error?)

If opening one of the files in nvi, this causes the file to be truncated at the first occurence.  If trying to convert it with iconv, it fails too:

% iconv -f UTF-8 -t ISO-8859-1 ._squid.conf

#       WELCOME TO SQUID 2.7.STABLE3
#       ----------------------------
[...]
#       tag is a number between 0 and concurrencyiconv: illegal input sequence at position 111325



Reproducible: Always

Steps to Reproduce:
Comment 1 Arthur Hagen 2008-08-12 07:46:08 UTC
The error is on lines 3103 and 3135 in the included squid.conf / squid.conf.default
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-08-15 06:17:37 UTC
Fixed in version 2.7.4-r1.