[Dancer-users] utf-8 issues

Stefan Hornburg (Racke) racke at linuxia.de
Fri Dec 23 22:28:35 CET 2011


On 12/23/2011 03:39 AM, Puneet Kishor wrote:
> Fellow Dancers,
>
> I am mystified by the following issue.
 > My Dancer-powered web site converts utf-8 encoded, plain text files formatted with Markdown into html.

How do you open these plain text files inside your Dancer application?
If you use Perl's open function or File::Slurp, you have to tell them
that your file is UTF-8. There is no way around that.

Regards
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the Dancer-users mailing list