[horde] (conditional) encoding problem

Eduardo Dominguez eduardodmz at gmail.com
Fri Oct 21 00:59:05 PDT 2005


On 10/21/05, Jan Schneider <jan at horde.org> wrote:
> Zitat von Eduardo Dominguez <eduardodmz at gmail.com>:
>
> > Any ideas or pointers on how I can make Horde change the encoding for
> > just one script ?
>
> That shouldn't be necessary. Use String::convertCharset() to convert
> only the data that needs to be in a different charset.
>

Jan,

thanks for the answer.

For text that is not passed thru gettext (80% of the text in that
script) then your suggestion will work just fine ;)

OTOH, I was under the impression that when using gettext the strings
end up being converted with the default encoding before being sent to
the browser. If this is the case then I have a problem because I won't
be able to use gettext in that script.

Thanks again for any tips
--
Lalo


More information about the horde mailing list