Forum OpenACS Q&A: Response to howto run 3.2.5 with European characters on nsd8x

Hello David,

I installed your module (had to get the rpms for libgcc_s.so.1 first though), but nothing changed!!!

Hello Henry,

I am using /shared/portrait-bits.tcl to display the pictures of users:
set db [ns_db gethandle]

set file_type [database_to_tcl_string_or_null $db "select portrait_file_type
from users
where user_id = $user_id"]

if [empty_string_p $file_type] {
    ad_return_error "Couldn't find portrait" "Couldn't find a portrait for User $user_id"
    return
}

ReturnHeaders $file_type


ns_pg blob_write $db $portrait_id