Uh<br><br>But i defined the variables in the env<br>and used<br><br>PassEnv ORACLE_HOME<br>PassEnv LD_LIBRARY_PATH<br>PassEnv NLS_LANG<br>PassEnv TNS_ADMIN<br><br>in httpd.conf<br><br><div class="gmail_quote">On Thu, Dec 18, 2008 at 4:58 AM, Emmanuel Lacour <span dir="ltr"><<a href="mailto:elacour@easter-eggs.com">elacour@easter-eggs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Thu, Dec 18, 2008 at 09:03:30AM +0100, Joop wrote:<br>
> Hello Eliezer,<br>
><br>
> >> I installed RT as a solution to remove Remedy's AR in my company, but i'm<br>
> >> having some troubles displaying spanish accented characters like á é í ó ú<br>
> >> or ñ, so, if anybody has any ideas, will be very appreciated<br>
> >><br>
> > Do you have something like "AddDefaultCharset UTF-8" in your apache<br>
> > configuration?<br>
> ><br>
><br>
> I'm running RT also with Oracle as a backend and I modified my<br>
> /etc/init.d/apache2. The first couple of lines read as follows:<br>
> ==<br>
> #!/bin/sh -e<br>
> #<br>
> # apache2        This init.d script is used to start apache2.<br>
> #            It basically just calls apache2ctl.<br>
><br>
> ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin<br>
> NLS_LANG=AMERICAN_AMERICA.UTF8"<br>
>  ==<br>
><br>
<br>
</div>Shouldn't be needed as this is explicitely defined in RT<br>
(lib/RT/Handle.pm):<br>
<br>
sub Connect {<br>
    my $self = shift;<br>
<br>
    my $db_type = RT->Config->Get('DatabaseType');<br>
    if ( $db_type eq 'Oracle' ) {<br>
        $ENV{'NLS_LANG'} = "AMERICAN_AMERICA.AL32UTF8";<br>
        $ENV{'NLS_NCHAR'} = "AL32UTF8";<br>
    }<br>
<br>
<br>
<br>
The AddDefaultCharset in apache config is not for database connection, but for<br>
http headers.<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users" target="_blank">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Community help: <a href="http://wiki.bestpractical.com" target="_blank">http://wiki.bestpractical.com</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com">sales@bestpractical.com</a><br>
<br>
<br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Eliezer E Chávez<br>+58-416-6125676<br><a href="mailto:eliezer.chavez@gmail.com">eliezer.chavez@gmail.com</a><br>>><a href="http://www.bumeran.com.ve/cv/eliezer-chavez">http://www.bumeran.com.ve/cv/eliezer-chavez</a><br>