> 99% of TRAC seems to be working fine, but my issue is that for some
> files in my repository I encounter the following error when
> viewing more
> recent revisions:
>
> ---------------------------
> Trac detected an internal error:
> ("Can't create a character converter from 'UTF-8' to native
> encoding",
> 2)
>
I think I have solved this, so I would like to document the solution
that worked for me. To solve this I needed to specify the locale for
FastCGI to use. I installed the en_US.UTF-8 locale within Solaris 10
(it's an optional package), and edited my apache httpd.conf file to
include the following:
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
FastCgiIpcDir /var/apache2/lib/fastcgi
FastCgiConfig -initial-env TRAC_ENV_PARENT_DIR=/path/to/trac \
-initial-env LC_ALL=en_US.UTF-8
ScriptAlias /trac /opt/csw/share/trac/cgi-bin/trac.fcgi
</IfModule>
Once I added the "-initial-env LC_ALL=en_US.UTF-8" argument to the
FastCgiConfig directive everything started working.
-Sam
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac