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. My template
is based on html5 using the boilerplate from html5boilerplate.com and has the
following incantation
<!doctype html>
<!--
hacked by Puneet Kishor, based on HTML Boilerplate by Paul Irish and
Divya Manian
all modifications released under a CC0 waiver by Puneet Kishor
March 15, 2011
See http://html5boilerplate.com/ for the original
-->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
and my Dancer config setting has
charset : utf-8
Yet, a text file that I created today using Hindi shows up as gobbledegook
under Safari. The text file is perfectly legible in two different Mac OS X text
editors (Coda and TextWrangler) and in the terminal using `less` and `vim`.
Safari is set to detect encoding automatically, but seems like the web server
(Starman) is not sending the right encoding.
Any thoughts?
--
Puneet Kishor
_______________________________________________
Dancer-users mailing list
[email protected]
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users