[rt-users] Output encoding, Web vs CLI

Emmanuel Lacour elacour at easter-eggs.com
Fri Apr 3 07:34:27 EDT 2009

On Fri, Apr 03, 2009 at 12:19:27PM +0200, Emmanuel Lacour wrote:
> Hi all,
> when I run a script using RT::Interface::CLI, everything I get (such as
> a CF value or correspondance) is ISO-8859-1. Same code in a mason
> template in share/html give UTF-8.
> Do I miss some initialization in myu script to get UTF-8?

Seems I need to do this:

$data = Encode::encode_utf8($data);

to get utf8 octets.

More information about the rt-users mailing list