Forum OpenACS Q&A: Response to OpenACS Internationalization

Collapse
Posted by Wolfgang Winkler on
Hi Tilmann!

encoding in psql gives me SQL_ASCII for encoding. I followed all
threads on encoding at openacs.org but nothing worked for me, so I
tried it myself.

Now I have no problems with strings that are sent via post or get
operations or retrieved from the database.

But I've also put this in my server.tcl file:

set charset iso-8859-1

ns_section "ns/parameters"

ns_param  URLCharset    $charset

ns_param  OutputCharset $charset

ns_param  HackContentType true

But only after the modifications of ReturnHeaders and
ReturnHeadersNoCache the whole thing worked and I've had no problems
so far. I've tested it heavily using german umlauts.