Nov 27 2005 11:29pm from IGnatius T [EMAIL PROTECTED]

Cool, that's exactly what we need, to have the browser tell WebCit what language to use.

 

 not at all yet. see the points ;)

 

I see that you're using setlocale(). You're going to have to find out whether the effects of setlocale() are thread-local. I don't think it is.


There appears to be something called uselocale(3) that sets the per-thread locale. I don't know how it works or how

 

hum. can't seem to find that. to which package does it belong? or is my sid to outdated?

 

widely it's supported. It does look like you're doing the right thing, though, by calling your new function httplang_to_locale() after an HTTP transaction begins, because it's already running in a thread-specific context at that point.

 

yes, i was woriing if that would taint further requests' locale-settings... 

Reply via email to