On 5/10/09 9:59 AM, Alexey Pechnikov wrote:
On Sunday 10 May 2009 15:48:21 Gustaf Neumann wrote:
Try in an aolserver script:

    set ::env(LANG) C.UTF-8
    ns_log notice "START of times [::ns_http_time 0]"

It's bad because russian strings in scripts and from databases wll be corrupted.

Alexey,

Have you confirmed this through empirical testing? There is a difference between the locale that the system libc functions use (i.e., env(LANG)) vs. what AOLserver's encoding is set to (through the config .tcl ns_params).

It might be worth investigating as to whether setting the system locale and properly configuring the AOLserver encoding (need a good HOWTO on this) will behave for you.


--
Dossy Shiobara              | [email protected] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to