[Product-Developers] Should setText(), title and description be utf-8 or unicode?
Andreas Jung
lists at zopyx.com
Tue Aug 11 04:42:46 UTC 2009
On 10.08.09 22:34, Mikko Ohtamaa wrote:
>
>
> ajung wrote:
>
>> I have *never* seen different behaviour. Internal storage format
>> is unicode. Data accessed or modified through the accessor/mutator
>> methods has to be encoded using the configured site-encoding.
>> If you access field directly -> your code is broken (except when
>> you are using FieldPropertys).
>>
>>
> Ok, thanks. I thought so. I have very old Plone 2.0 in my hands
>
Well, 2.0 and older versions had lots of misconceptions.
Andreas
--
ZOPYX Ltd. & Co KG \ ZOPYX & Friends
Charlottenstr. 37/1 \ The experts for your Python, Zope and
D-72070 Tübingen \ Plone projects
www.zopyx.com, info at zopyx.com \ www.zopyx.de/friends, friends at zopyx.de
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090811/176c0c7f/attachment.vcf>
More information about the Product-Developers
mailing list