On 11/05/11 16:43, Peter Flanigan wrote:
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::Config
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 =>
Hi
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 }
}
Hello!
With Catalyst::Plugin::Unicode::Encoding, data from databases works fine.
Templates in UTF-8 are also OK.
However, data from .conf or UTF-8 constants in code still gets
double-encoded. Data/constants are UTF-8, but perl for some reason does
not set UTF-8 flag on them.
What's more str