I have not compiled Postgresql (psql -V tells me multibyte support is there), i am currently using an rpm version. As the support of the database for the german characters seems to work very well i thought that would not be necessary ?
Any Umlaut read from a text file is displayed correctly at any time (in psql, in the error-log written via ns_log, on the browser side)
But if i retrieve a value via form input, garbage is immediatly displayed when writing the value to the log:
set form_value [encoding convertfrom iso8859-1 [ns_set value $formdata $i]]
ns_log Notice $form_value --> Garbage (no database involved)