<div dir="ltr">Hey Stefan,<div><br></div><div>unfortunately I have not found anything related to my problem in your source.</div><div><br></div><div>Best regards,</div><div>Attila</div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Dec 18, 2013 at 7:01 PM, Attila Bárdi <span dir="ltr"><<a href="mailto:attila.bardi@gmail.com" target="_blank">attila.bardi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hey Stefan,<div><br></div><div>you are right! Danke!</div><div><br></div><div>I tried the<i> use urf8;</i> with ldap and it did not work.</div><div><br></div><div>I will check the source of <span style="font-family:arial,sans-serif;font-size:13px"><i>Dancer::Plugin::LDAP.</i></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><i><br></i></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Best regards,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Attila</span></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 5:09 PM, Stefan Hornburg (Racke) <span dir="ltr"><<a href="mailto:racke@linuxia.de" target="_blank">racke@linuxia.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 12/18/2013 05:04 PM, Attila Bárdi wrote:<br>
> Hey Stefan,<br>
><br>
> as you see the the ldap gives me the correct result, till the Dancer module<br>
> is not loaded.<br>
> I think it is a Dancer error not an ldap.<br>
><br>
> I created a more simple test case:<br>
><br>
> battila@igornb:~$ dancer -a MyWeb::App<br>
> ...<br>
> battila@igornb:~$ cd MyWeb-App<br>
> battila@igornb:~/MyWeb-App$ vi lib/ChrachterMistake.pm<br>
><br>
> #!/usr/bin/perl -w<br>
> package ChrachterMistake;<br>
> use strict;<br>
> use warnings;<br>
><br>
> sub gimmySomething {<br>
> return "Bárdi Attila";<br>
> }<br>
><br>
> 1;<br>
><br>
> battila@igornb:~/MyWeb-App$ vi lib/MyWeb/App.pm<br>
><br>
> package MyWeb::App;<br>
> use Dancer ':syntax';<br>
> use ChrachterMistake;<br>
><br>
> our $VERSION = '0.1';<br>
><br>
> get '/' => sub {<br>
> return ChrachterMistake::gimmySomething();<br>
> };<br>
><br>
> true;<br>
><br>
<br>
</div></div>You have to use<br>
<br>
use utf8;<br>
<br>
if you put hardcoded UTF-8 strings into your module.<br>
<div><div><br>
Regards<br>
Racke<br>
<br>
<br>
--<br>
LinuXia Systems => <a href="http://www.linuxia.de/" target="_blank">http://www.linuxia.de/</a><br>
Expert Interchange Consulting and System Administration<br>
ICDEVGROUP => <a href="http://www.icdevgroup.org/" target="_blank">http://www.icdevgroup.org/</a><br>
Interchange Development Team<br>
<br>
_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm" target="_blank">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>