[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745605: apache2: ignores AddDefaultCharset



The issue with the form was caused by an incorrect php setting, but the
issue with the JS utf-8 encoded file is still happen with 2.4.10-9, the
only way to solve it is to add AddCharset UTF-8 .js, In that case the
headers are set to UTF-8, but if only AddDefaultCharset UTF-8 is set it
seems that is interpreted as iso-8859-1 in firefox, because the charset
headers are not set to UTF-8

Kind regards,
  Carlos

On Sun, 13 Jul 2014 16:42:52 +0200 =?ISO-8859-1?Q?Arno_T=F6ll?=
<arno@debian.org> wrote:
> Hi,
>
> On 16.06.2014 22:59, Arnaud de Prelle wrote:
> > It seems Apache 2.4.9-2 misuses the AddDefaultCharset statement.
> > By default it should be Off but the current 2.4.9-2 simply overrides
the value of the parameters and sets it to UTF-8.
>
> are you sure, this isn't overridden by PHP as in Carlos' case? Apache
> defaults to
>
> #define DEFAULT_ADD_DEFAULT_CHARSET_NAME "iso-8859-1"
>
>
> else if (!strcasecmp(arg, "On")) {
> d->add_default_charset = ADD_DEFAULT_CHARSET_ON;
> d->add_default_charset_name = DEFAULT_ADD_DEFAULT_CHARSET_NAME;
>
>
> when set to on, and this code hasn't changed a long time.
>
>
> --
> with kind regards,
> Arno Töll
> IRC: daemonkeeper on Freenode/OFTC
> GnuPG Key-ID: 0x9D80F36D
>


Reply to: