Forum OpenACS Q&A: Response to Non-english characters in OpenACS 4.5

Collapse
Posted by Jay Dubanik on
I have made an attempt to change my system (oacs4.5/oracle) to iso-8859-2 character set.

I was able to get the output right but I'm not able to get the input from forms to work.

Problem:
I tried add new data from general-comments and from news forms.
both with same result, characters entered in content (the large text area) work fine and display back ok but
the TITLE line does not convert, and I get for those characters something that looks like binary, a capital letter and a square for each polish letter

here what i have done so far to set up the system for iso-8859-2 characters.

  • converted oracle database with alter database character set ee8iso8859p2;
  • changed in /modules/tcl/init.tcl file
    SystemEncoding utf-8 to SystemEncoding iso8859-2
  • added in nsd.tcl lines
    ns_section ns/parameters
    ns_param OutputCharset iso-8859-2
  • changed in modules/tcl/http.tcl and form.tcl and charsets.tcl any reference to iso-8859-1 to iso-8859-2
after these changes I got statics module to scan few html pages with polish characters and the result is working as Im getting pages back with 'add comment' link and with correct characters displayed.

Don't know where to start looking

Please help, Janus