summaryrefslogtreecommitdiff
path: root/test/templates/chs_utf8.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/templates/chs_utf8.html')
-rw-r--r--test/templates/chs_utf8.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/templates/chs_utf8.html b/test/templates/chs_utf8.html
new file mode 100644
index 0000000..50886be
--- /dev/null
+++ b/test/templates/chs_utf8.html
@@ -0,0 +1,16 @@
+<%
+ msg = '新中国的主席'
+%>
+
+<%def name="welcome(who, place='北京')">
+Welcome ${who} to ${place}.
+</%def>
+
+<%def name="welcome_buffered(who, place='北京')" buffered="True">
+Welcome ${who} to ${place}.
+</%def>
+
+${name} 是 ${msg}<br/>
+${welcome('你')}
+${welcome_buffered('你')}
+