Hi, I'm trying to use CPSUtil.text.toAscii to process some text while ignoring accents (as per the list's suggestion). However, I cannot do 'from Products.CPSUtil.text import toAscii' in my script: I always get "You are not allowed to access 'text' in this context"
Looking into text.py, I noticed there are no ModuleSecurityInfo declarations in it, and therefore I cannot use it in restricted code (unless I wrap it with ModuleSecurityInfo in my own module) Is there a particular reason for not allowing this? I would expect this to be rather useful in restricted code, at least in countries that use accented characters daily :) If not I guess I'll just do the wrapping. Any thoughts? TIA, Jonathan This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
