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.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [email protected]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to