[ZCM] [ZC] 228/ 2 Resolve "Vocabulary: manage_vocab cannot show Unicode vocabulary entries"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Tue, 19 Feb 2002 11:46:54 -0500
Issue #228 Update (Resolve) "Vocabulary: manage_vocab cannot show Unicode vocabulary entries"
Status Resolved, Catalog/bug medium
To followup, visit:
http://collector.zope.org/Zope/228
==============================================================
= Resolve - Entry #2 by ajung on Feb 19, 2002 11:46 am
Status: Pending => Resolved
manage_main for Vocabularies now uses utf-8 as character set.
all unicode strings inside the vocabulary are converted now
to utf-8.
Fixes to z2.py and manage_vocab.dtml are checked into the trunk.
They will be backported into the 2.5 branch after the release of
2.5.1.
- aj
________________________________________
= Request - Entry #1 by snej on Feb 17, 2002 4:58 pm
The vocabulary may contain UnicodeStrings from
UnicodeSplitters. manage_vocab gets these
strings from words() and fails displaying them
if any unicode string in the Vocabulary contains a character >= 128.
UnicodeError: ASCII encoding error: ordinal not in range(128)
I'd suggest a encoded_words(encoding) method
on vocabulary.
==============================================================