I'm doing a fresh installation of AOLserver 4.5.0 (Tcl 8.5.2), but I'm having problems to configure UTF-8 encodings.
I need to use UTF-8 in all places of my site (including tcl, html and adp pages), and some of my AOLserver configurations params are (this parameters were sugested by others messages in this forum):
ns_section "ns/mimetypes"
ns_param default "*/*"
ns_param .adp "text/html; utf-8"
ns_param .html "text/html; utf-8"
ns_param .txt "text/plain; utf-8"
ns_section "ns/encodings"
ns_param adp "utf-8"
ns_param html "utf-8"
ns_section "ns/server/server1"
ns_param directoryfile "index.htm,index.html,index.adp"
ns_param pageroot $pageRoot
ns_param maxthreads 20
ns_param minthreads 5
ns_param maxconns 20
ns_param urlcharset "utf-8"
ns_param outputcharset "utf-8"
ns_param inputcharset "utf-8"
But this configurations works fine only for .html pages, and not for .adp pages. To demonstrate the problem, I configurate a test server with 2 identical files, one with html extension and one with adp extension. The only difference between the two pages is the extension. Please, look how que AOLserver handles the encoding of them in my test server:
http://www9.sms.org.br:8000/teste.html
http://www9.sms.org.br:8000/teste.adp
As you can see, the UTF-8 encoding is correctly used in the page with html extension, but not in the (identical) page with the adp extension.
Please, how can I configure this correctly?
Thanks!