[dancer-users] character encoding

Attila Bárdi attila.bardi at gmail.com
Wed Dec 18 18:24:20 GMT 2013


Hey Stefan,

unfortunately I have not found anything related to my problem in your
source.

Best regards,
Attila


On Wed, Dec 18, 2013 at 7:01 PM, Attila Bárdi <attila.bardi at gmail.com>wrote:

> Hey Stefan,
>
> you are right! Danke!
>
> I tried the* use urf8;* with ldap and it did not work.
>
> I will check the source of *Dancer::Plugin::LDAP.*
>
> Best regards,
> Attila
>
>
> On Wed, Dec 18, 2013 at 5:09 PM, Stefan Hornburg (Racke) <racke at linuxia.de
> > wrote:
>
>> On 12/18/2013 05:04 PM, Attila Bárdi wrote:
>> > Hey Stefan,
>> >
>> > as you see the the ldap gives me the correct result, till the Dancer
>> module
>> > is not loaded.
>> > I think it is a Dancer error not an ldap.
>> >
>> > I created a more simple test case:
>> >
>> > battila at igornb:~$ dancer -a MyWeb::App
>> > ...
>> > battila at igornb:~$ cd MyWeb-App
>> > battila at igornb:~/MyWeb-App$ vi lib/ChrachterMistake.pm
>> >
>> > #!/usr/bin/perl -w
>> > package ChrachterMistake;
>> > use strict;
>> > use warnings;
>> >
>> > sub gimmySomething {
>> >     return "Bárdi Attila";
>> > }
>> >
>> > 1;
>> >
>> > battila at igornb:~/MyWeb-App$ vi lib/MyWeb/App.pm
>> >
>> > package MyWeb::App;
>> > use Dancer ':syntax';
>> > use ChrachterMistake;
>> >
>> > our $VERSION = '0.1';
>> >
>> > get '/' => sub {
>> >     return ChrachterMistake::gimmySomething();
>> > };
>> >
>> > true;
>> >
>>
>> You have to use
>>
>> use utf8;
>>
>> if you put hardcoded UTF-8 strings into your module.
>>
>> Regards
>>         Racke
>>
>>
>> --
>> LinuXia Systems => http://www.linuxia.de/
>> Expert Interchange Consulting and System Administration
>> ICDEVGROUP => http://www.icdevgroup.org/
>> Interchange Development Team
>>
>> _______________________________________________
>> dancer-users mailing list
>> dancer-users at dancer.pm
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131218/991c3a77/attachment.html>


More information about the dancer-users mailing list