This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients
Date 2004-10-23.12:25:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=21627

If all you want is to specify the appEncoding through an
environment variable: this should be really easy. Instead of

class Unicode(varchar):
    def __init__(self, columnName=None,
appEncoding="iso-8859-1"):
        datatype.__init__(self, columnName)
        self._appEncoding = appEncoding

do this instead

class Unicode(varchar):
    def __init__(self, columnName=None, 
                      appEncoding=os.environ.get("ORM_ENCODING",
                                                           
    "iso-8859-1")):
        datatype.__init__(self, columnName)
        self._appEncoding = appEncoding

Then set ORM_ENCODING as you'ld like. No other changes to
your source are required.
History
Date User Action Args
2007-08-23 16:08:31adminlinkissue1052098 messages
2007-08-23 16:08:31admincreate