Re: [Zope] How to convert Zope instance charset?

2005-04-25 Thread Andreas Jung
--On Montag, 25. April 2005 10:42 Uhr +0200 Daniel Dekany <[EMAIL PROTECTED]> wrote: As someone who works often with Java I absolutely agree with it. Just I don't know how to do it with Zope/Plone/other 3rd party products (not written by me), since they use not unicode strings. I don't know, may

Re: [Zope] How to convert Zope instance charset?

2005-04-25 Thread Daniel Dekany
Monday, April 25, 2005, 5:34:04 AM, Andreas Jung wrote: > 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 datatype

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--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/

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
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

Re: [Zope] How to convert Zope instance charset?

2005-04-24 Thread Andreas Jung
--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

[Zope] How to convert Zope instance charset?

2005-04-24 Thread Daniel Dekany
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