Forum OpenACS Development: UTF-8 default ?

Collapse
Posted by Malte Sussdorff on
I'd like to add this to blank-master.adp to make UTF-8 the default behaviour.

a) Any objections ?
b) Is blank-master the best place ?

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Collapse
2: Re: UTF-8 default ? (response to 1)
Posted by Guan Yang on
You should have HackContentType in the default etc/config.tcl also then (and the 4 encoding params set to utf-8). Not all browsers allow meta http-equiv to override HTTP headers.

What about people who run Oracle 8.1.7 and don't use UTF-8 because interMedia has problems with it?

Collapse
3: Re: UTF-8 default ? (response to 2)
Posted by Guan Yang on
Also Joel has experienced situations when AOLserver's system encoding wasn't set to utf-8. I've never experienced this with either 4.0.0 or 4.0.2. AOLserver 3.3.1ad13 had this at the end of modules/tcl/init.tcl:

encoding system [ns_config ns/server/[ns_info server] SystemEncoding utf-8]

so that the Tcl system encoding was set to ns/server/$server/SystemEncoding, defaulting to utf-8. This patch was in the ad13 part.