chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set content-type charset and LC_CTYPE to UTF-8
[ypp-sc-tools.db-test.git]
/
yarrg
/
web
/
autohandler
diff --git a/yarrg/web/autohandler
b/yarrg/web/autohandler
new file mode 100644
(file)
index 0000000..
ba6c8b9
--- /dev/null
+++ b/
yarrg/web/autohandler
@@ -0,0
+1,7
@@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+% $m->call_next;
+<%init>
+use CommodsWeb;
+set_ctype_utf8();
+$r->content_type('text/html; charset=UTF-8');
+</%init>