>    StringValidator is intended to pass strings back and forth as is. For
> recoding there is UnicodeCol and UnicodeValidator, but it only needs one
> encoding - dbEncoding.

Ok, I see that one.

On the other hand, I would be quite happy to go with StringCols instead of UnicodeCols. Strings are easier to handle with our c++ python extensions and then there are some restrictions to the UnicodeCols in sqlobject, too.

Looking at the UnicodeStringValidator, I guess that the validators' task is not only to validate the incoming/outgoing values, but also to do the needed conversions, right? In that case, my code in StringValidator wouldn't be completely off place, would it?




Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger bestimmt.

Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird, bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information ist verboten.

This message is intended only for the named recipient and may contain confidential or privileged information.

If you have received it in error, please advise the sender by return e-mail and delete this message and any attachments. Any unauthorised use or dissemination of this information is strictly prohibited.