Jules,<div><br></div><div>What I did:</div><div><br></div><div>1. Add a meta tag in template/header.tpl </div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></div><div><br>
</div><div>2. In templates/dropoff_list.tpl line 19, change to</div><div><br></div><div><td class="UD_form_lined">{foreach from=$d.recipients item=r}{$<a href="http://r.name">r.name</a>|html_entity_decode} &lt;{$r.email}&gt;<br/>{/foreach}</td></div>
<div><br></div><div>3. In templates/show_dropoff.tpl file,</div><div>In line 90, change to</div><div>{$r.0|html_entity_decode} ({$r.1})<br /></div><div><br></div><div>In line 97, change to</div><div><td colspan="2"><textarea readonly="yes" style="width: 425px; height: 200px;">{$note|html_entity_decode}</textarea></td></div>
<div><br>For email, change the subject line for utf-8 encode</div><div>In file lib/NSSDropbox.php line 732, change to</div><div><br></div><div>$subject="=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?=",</div>
<div><br></div><div>There are some other places that to be internationalized friendly. But I think we can wait until the Zendto interface will "internationalized" some day. :-)</div><div><br></div><div><br></div>
<div>Barry</div><div><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 5:43 PM, Jules <span dir="ltr"><<a href="mailto:Jules@zend.to">Jules@zend.to</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff"><div class="im">
<br>
<br>
On 04/03/2011 09:40, Barry Kwok wrote:
<blockquote type="cite">
<div>Jules,</div>
<div><br>
</div>
I will start to study the code. But do you have any idea which
file(s) should I start?</blockquote></div>
www/dropoff.php and lib/NSSDropoff.php should be the home of
most/all of it. Plus possibly SQLite.pm and MySQL.pm if you need to
change the database code (which I hope you won't, as it makes
upgrades a whole lot harder).<br><font color="#888888">
<br>
Jules.</font><div><div></div><div class="h5"><br>
<br>
<blockquote type="cite">
<div><br>
<br>
<div class="gmail_quote">On Fri, Mar 4, 2011 at 4:53 PM, Jules <span dir="ltr"><<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"> Agreed. Any idea how
I go about doing that? I'm not a PHP expert, my background
is mostly Perl (from writing MailScanner among other
projects over many years).<br>
<br>
I need to html-encode them or else people can put HTML
tags in them, which would be *very* bad.
<div>
<div><br>
<br>
On 04/03/2011 03:43, Barry Kwok wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>When writing non English note (eg
chinese) to the recipients. I found that
<div><br>
</div>
<div>1. The email message to the recipients display
correctly (but no charset defined)</div>
<div><br>
</div>
<div>2. The note message show on the web is "html
entity encoded" and cannot read properly.</div>
<div><br>
</div>
<div><br>
</div>
<div>I would like to suggest to use utf-8 encoding
for both email message and in the web</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Barry</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre cols="72">Jules
--
Julian Field MEng CITP CEng
<a href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
</pre>
</div>
<br>
_______________________________________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><br>
</blockquote>
</div>
<br>
</div>
<pre><fieldset></fieldset>
_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre cols="72">Jules
--
Julian Field MEng CITP CEng
<a href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
</pre>
</div></div></div>
<br>_______________________________________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><br></blockquote></div><br></div>