[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n/Views/Browser - translate.pt:1.9
Stephan Richter
srichter@cbu.edu
Fri, 14 Jun 2002 12:50:51 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/I18n/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv18258/lib/python/Zope/I18n/Views/Browser
Modified Files:
translate.pt
Log Message:
Finished Zope 3 Unicode support. Zope 3 should now be able to handle all
unicode formats. Note that ebcoding and decoding unicode strings is based
on the parameters we get from the browser in HTTP_ACCEPT_CHARSET.
All "text strings" (strings that represent human language text) internally
in Zope 3 should be unicode strings from now on! I have not checked all of
Zope 3, so if you see a non-unicode text string somewhere, please convert
it simply by putting 'u' before the string literal.
Note that binary data, such as images are not to be encoded.
The encoding happens on the HTTPRequest/HTTPResponse abstraction level.
That means that currenty FTP does not profit from this new code; however
FTP is always data anyhow.
=== Zope3/lib/python/Zope/I18n/Views/Browser/translate.pt 1.8 => 1.9 ===
<div metal:fill-slot="body">
-<table cols="4" width="100%" border="0"
- i18n:domain="Zope-I18n">
+<span i18n:domain="Zope-I18n">
+
+<table cols="4" width="100%" border="0">
<tr>
<td width="25%">
<form action="./" method="post">
@@ -169,6 +170,9 @@
i18n:attributes="value">
</div>
</form>
+
+</span>
</div>
+
</body>
</html>