chromium/third_party/mako/mako/test/templates/chs_utf8.html

<%
 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('你')}