Re: [Zope-dev] convert zope objects to unicode

2001-05-17 Thread Toby Dickenson

On Wed, 16 May 2001 21:52:53 +0200, Tino Wildenhain
<[EMAIL PROTECTED]> wrote:

>Hi Sin,
>
>see http://dev.zope.org/Wikis/DevSite/Projects/SupportPython21/FrontPage
>
>for whats going on at the unicode-sector for zope. IMHO it does
>not make sense to duplicate effort.


That project aimed at supporting python 2.x, but not exploiting its
new features such as unicode.

You probably want to look at http://www.zope.org/Members/htrd/wstring,
where I have some mature patches to provide exactly what you want,
which have been stable for 10 months! It is likely that Zopes standard
unicode support, when it arrives, will be based on these patches.

(ps, Ill be releasing an updated patch for Zope 2.3.2 in the next few
days)



Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] convert zope objects to unicode

2001-05-16 Thread Tino Wildenhain

Hi Sin,

see http://dev.zope.org/Wikis/DevSite/Projects/SupportPython21/FrontPage

for whats going on at the unicode-sector for zope. IMHO it does
not make sense to duplicate effort.

Regards
Tino

--On Donnerstag, 17. Mai 2001 01:27 +0800 Sin Hang Kin 
<[EMAIL PROTECTED]> wrote:

> If I would like to hack zope to store all string objects in unicode, where
> is the best place to do it?
>
> I would like to have the incoming string go through unicode(inputstr,
> encoding) and all outgoing strings go through with
> outputstring.encode(encoding)
>
> However, after looking around the zope source, I can not find where is the
> appropriate place to do it.
>
> Rgs,
>
> Kent Sin
> -
> kentsin.weblogs.com
> kentsin.imeme.net
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] convert zope objects to unicode

2001-05-16 Thread Sin Hang Kin

If I would like to hack zope to store all string objects in unicode, where
is the best place to do it?

I would like to have the incoming string go through unicode(inputstr,
encoding) and all outgoing strings go through with
outputstring.encode(encoding)

However, after looking around the zope source, I can not find where is the
appropriate place to do it.

Rgs,

Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )