Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: mod_perl STDOUT

by swelz (Initiate)
on Oct 18, 2012 at 09:00 UTC ( #999696=note: print w/replies, xml ) Need Help??


in reply to Re^3: mod_perl STDOUT
in thread mod_perl STDOUT

I agree in general but here is the thing. I come to the conclusion that this is related to my locales on the Ubuntu machine that is running this particular site. All i could make out so far was that the ENV VARS

LC_ALL, LANG and LANGUAGE

are set to en_US even if they should be en_US.UTF-8 or POSIX.

On my local system i run apache on gentoo (yeah i know) and all related ENV vars are set to POSIX and the default output on STDOUT in mod_perl is UTF8. I get the job done with perl ... but this makes me sick. If i get that solved i will report back

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999696]
help
Chatterbox?
[Corion]: Nicholas Clark++ # read for a multichar block-delimiter by scanning for the last char, and only then check whether the whole delimiter was read.
[Corion]: At least if you're appending the data read to a larger buffer, this means you avoid the situation of "a delimiter was found but the other half has not been read yet"
choroba misses the context
[Corion]: choroba: Optimizing how Perl reads source code on startup (and then processes it line-by-line)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2016-12-06 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (107 votes). Check out past polls.