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 <[email protected]>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) <[email protected] > > 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@igornb:~$ dancer -a MyWeb::App >> > ... >> > battila@igornb:~$ cd MyWeb-App >> > battila@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@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 >> [email protected] >> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users >> > >
_______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
