Lennart Regebro wrote at 2005-4-8 10:59 +0200:
> ...
>On Apr 8, 2005 8:48 AM, Chris Withers <[EMAIL PROTECTED]> wrote:
> ...
>> Which "The Zope Book" are you referring to?
>>
>> The 2.6 one on Zope.org?
>> The 2.7 one on Plope.com?
>> The 3.whatever one somewhere-I-don't-know?
>
>I would expect it
One last note from myside. I have experiences with unicode since over 7
years while
working with multilingual documents in the e-publishing business. It is
good practice
to perform *any* unicode related work *only* on unicode datatypes (Python
unicode strings!!!)
and *not* some byte-encoded unic
--On Sonntag, 24. April 2005 17:36 Uhr -0400 Leticia Larrosa
<[EMAIL PROTECTED]> wrote:
sort_on =(('self', test, 'desc'))
As documented the 'sort_on_ parameter must be a *sequence* of sorting
definitions and a *single* sorting
definition. This should work:
sort_on =(('self', test, 'desc'),)
-a
Leticia Larrosa wrote:
Hi
all:
I
want to order a sequence using the Sequence sorting module from a
Python script.
I
have the following code:
"
seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']]
def test(oneElem, twoElem):
if oneElem[0] == twoElem[0]:
ret
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan Goldberg wrote:
> Can someone please help me resolve the following error:
>
> Error: The object named by "DBTab.ClassFactories.autoClassFactory" could not
> be imported
> (line 903 in file:///home/jgoldberg/my_zope/etc/zope.conf)
> For help,
Hi,
does anybody know if and how I could build a global locales catalog in
zope-2.8? I'm already through the i18n chapter in the zope-3 book, and think
to know how to set one up on a per product level. I made a locales dir in my
INSTANCE_HOME, but that doesn't seem to do the trick. However, I'm
Hi all:
I
want to order a sequence using the Sequence sorting module from a Python
script.
I
have the following code: "seq = [['Bruzon', 'CUB'], ['Anand',
'IND'], ['Kasparov', 'RUS']]def test(oneElem, twoElem):
if oneElem[0] == twoElem[0]:
return 0
elif oneElem[0] > twoEl
Hi all:
I want to order a sequence using the Sequence sorting module from a Python
script.
I have the following code:
"
seq = [['Bruzon', 'CUB'], ['Anand', 'IND'], ['Kasparov', 'RUS']]
def test(oneElem, twoElem):
if oneElem[0] == twoElem[0]:
return 0
if oneElem[0] > twoElem[0]:
--On Sonntag, 24. April 2005 21:31 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
Yeah, I tried to use that earlier, but as I said for many times here, it
can't sort utf-8 encoded strings, despite that I have set the "global
locale" to something.utf8, certainly because Python locale.strcoll
Since it wasn't mentioned: you may want to check out
http://zopewiki.org/ZopeDevelopment and
http://zopewiki.org/DiskBasedProduct . Pretty much all the known
relevant links should be there, and if you know others, please add them.
___
Zope maillist -
Sunday, April 24, 2005, 7:22:42 PM, Andreas Jung wrote:
>
>
> --On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany
> <[EMAIL PROTECTED]> wrote:
>
>>
>> Maybe *you* don't get the point. Python has a "virtual machine level"
>> setting that specifies the locale and encoding (the charset). You
Sascha Welter wrote:
If the "new stuff" is so great and easy to use,
it should also be easy to put some documentation of it in
Hear, hear. +1 insightful.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts o
--On Sonntag, 24. April 2005 18:34 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
Maybe *you* don't get the point. Python has a "virtual machine level"
setting that specifies the locale and encoding (the charset). You can
set it for example like: locale.setlocale('hu_HU', 'ISO-8859-2'). And
--On Sonntag, 24. April 2005 18:26 Uhr +0200 Max M <[EMAIL PROTECTED]> wrote:
Yes. I was thinking in the line of a monkeypatch of the sort method, that
could be used in eg. Plone.
It should be very possible for it to look up the charset under
properties, and decode strings from that before sortin
Sunday, April 24, 2005, 6:05:42 PM, Andreas Jung wrote:
>
>
> --On Sonntag, 24. April 2005 17:45 Uhr +0200 Daniel Dekany
> <[EMAIL PROTECTED]> wrote:
>
>> Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
>> First of all, in this thread I don't care whose mistake it is. My
>> concern is if
Andreas Jung wrote:
Daniel Dekany wrote:
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
Zope itself gives a method for sorting strings:
DocumentTemplate.sequence.sort. Many of the products relies on that for
sorting. And that sorts UTF-8 incorrectly
Then it will probably be easiest to ju
--On Sonntag, 24. April 2005 18:01 Uhr +0200 Max M <[EMAIL PROTECTED]> wrote:
Daniel Dekany wrote:
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
Zope itself gives a method for sorting strings:
DocumentTemplate.sequence.sort. Many of the products relies on that for
sorting. And that sort
--On Sonntag, 24. April 2005 17:45 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
First of all, in this thread I don't care whose mistake it is. My
concern is if I can use Zope with UTF-8 (in fact, Plone) in reality or
not. Assume that
Daniel Dekany wrote:
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
Zope itself gives a method for sorting strings:
DocumentTemplate.sequence.sort. Many of the products relies on that for
sorting. And that sorts UTF-8 incorrectly
Then it will probably be easiest to just patch it up to so
Sunday, April 24, 2005, 4:22:10 PM, Andreas Jung wrote:
>
>
> --On Sonntag, 24. April 2005 16:03 Uhr +0200 Daniel Dekany
> <[EMAIL PROTECTED]> wrote:
>
>> Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote:
>>
>>> --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany
>>> <[EMAIL PROTECTE
--On Sonntag, 24. April 2005 16:03 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote:
--On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
I have a Zope instance that uses utf-8 for everything. Since
Python/
Sunday, April 24, 2005, 2:36:24 PM, Andreas Jung wrote:
> --On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany
> <[EMAIL PROTECTED]> wrote:
>
>> I have a Zope instance that uses utf-8 for everything. Since
>> Python/Zope/etc practically doesn't support utf-8,
>
> Please explain in which sens
--On Sonntag, 24. April 2005 14:18 Uhr +0200 Daniel Dekany
<[EMAIL PROTECTED]> wrote:
I have a Zope instance that uses utf-8 for everything. Since
Python/Zope/etc practically doesn't support utf-8,
Please explain in which sense Zope would not support utf-8. For your
information:
Plone has UTF8
I have a Zope instance that uses utf-8 for everything. Since
Python/Zope/etc practically doesn't support utf-8, I would like to
switch over to ISO-8859-2 (for everything). The problem is that this
instance is a fat site that is on-line for several months, so I have to
convert the strings stored ins
Zope Corporation is pleased to announce the release of version 1.5.1 of
the Zope Content Management Framework (CMF). This release marks the
latest stable release in the CMF 1.5 series and should be suitable for
production use.
What is the CMF?
The Zope Content Management Framework provides
Dear Zope Community,
on behalf of Zope Corporation and all Zope 2 developers and contributors
I am pleased to announce the release of Zope 2.8.0 b1.
Zope 2.8.0 b1 can be downloaded from
http://www.zope.org/Products/Zope/2.8.0b1
The release notes can be found at
http://www.zope.org/Products/Zop
26 matches
Mail list logo