Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22058 - apache 2.0.x ebuild and UTF-8 charsets
Summary: apache 2.0.x ebuild and UTF-8 charsets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-01 13:52 UTC by Tero Pelander
Modified: 2003-06-04 23:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix to apache-2.0.46.ebuild (apache.diff,481 bytes, patch)
2003-06-01 13:53 UTC, Tero Pelander
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Pelander 2003-06-01 13:52:30 UTC
If the users has some utf-8 characterser as environment the apache 2.0.46 ebuild
fails miserably as perl tries to use that charset while interpreting the input
files.

To reproduce:
localedef -v -c -i en_US -f UTF-8 en_US.UTF-8  # only if not done previously
export LC_CTYPE=en_US.UTF-8
ACCEPT_KEYWORDS=~x86 emerge apache

Result:
At least several hundreads of errors like the following....
Malformed UTF-8 character (unexpected end of string) at -e line 1, <> line 77558.
Comment 1 Tero Pelander 2003-06-01 13:53:56 UTC
Created attachment 12637 [details, diff]
fix to apache-2.0.46.ebuild
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-06-02 19:44:24 UTC
im sorry i just dont know jack about locales.

but thank you for the fix, i'll add it when i get a spare moment ;)
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-06-04 23:09:01 UTC
fixed, thanks.
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-06-04 23:45:27 UTC
fixed!