[Catalyst] Double encoded UTF in config and string constants
Peter Flanigan
pjf at roxsoft.co.uk
Sat Nov 5 12:43:16 GMT 2011
On 05/11/11 10:41, Alexey Illarionov wrote:
> On 05.11.2011 13:36, Alex Povolotsky wrote:
>
>> How do I make Confg::Any understand that my .conf file is in UTF-8 and
>> how do I correctly put UTF-8 string constants into code?
>
> __PACKAGE__->config( 'Plugin::ConfigLoader' => {
> driver => {
> 'General' => { -UTF8 => 1 }
> }
> });
Add use utf8; to any Perl source code files that contain UTF-8 string
constants
--
Regards
More information about the Catalyst
mailing list