Re: Logging wide characters to error_log

Bill Moseley <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAKhN_m4m05Q0iEFk+kKrtUkDfr165yb15umsT9cMEsH-0byCEA@mail.gmail.com>
On Tue, Sep 23, 2014 at 11:10 AM, André Warnier <[email protected]> wrote:

>
> First, the subject chosen for your email is not going to be much help for
> someone searching the list archives later. Even "Быстрая коричневая лиса"
> would have been better.
>

Odd, not sure how the subject ended up as "undefined".    Clearly not much
help.


>
> And second, a "what if.." :
> What if you start Apache under a UTF-8 "locale" ?
> (does it then still escape the non-iso-8859-1 characters in the log ?)
>

I am running the server with a UTF-8 locale (see below), and I'm starting
the server as my use (not sudo), as in my original email.


I'm curious if others are seeing the same behavior when using $r->log with
wide characters.

Thanks,


$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=




-- 
Bill Moseley
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.