Re: [Zope-dev] problems with accented characters - need advice

2002-06-20 Thread Florent Guillaume
Florent Guillaume <[EMAIL PROTECTED]> wrote: > Toby Dickenson <[EMAIL PROTECTED]> wrote: > > On Tuesday 18 Jun 2002 8:44 pm, Dieter Maurer wrote: > > > > > The reason why it is still there is that a change should work for > > > all languages and not only western ones. This poses the question >

Re: [Zope-dev] problems with accented characters - need advice

2002-06-18 Thread Dieter Maurer
Eric Brun writes: > we are looking for a simple solution to ensure that objects added to the zope >database have valid names... including those which start out containing accented >characters ( we are in europe ). I would get rid of the id restriction... In fact, there is no real reason th

Re: [Zope-dev] problems with accented characters - need advice

2002-06-18 Thread Casey Duncan
There is a function defined in ObjectManager.py called checkValidId. You could override this to enforce certain rules either in a subclass of OM (overridding _setObject) or by a direct monkey patch of ObjectManager.py. Then it would not be possible to supply invalid names from anywhere (ZMI, DAV,