Bugs item #1845266, was opened at 2007-12-06 03:37
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1845266&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Mapi
>Group: Clients 1.20
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: mharrison (matt_harrison)
>Assigned to: Sjoerd Mullender (sjoerd)
Summary: Python converters don't quote unicode strings...

Initial Comment:
converters.py should change Unicode2Str from:
def Unicode2Str(s, d):
    """Convert a unicode object to a string using latin1 encoding."""
    return s.encode('latin')

to:

def Unicode2Str(s, d):
    """Convert a unicode object to a string using latin1 encoding."""
    return  string_literal(s.encode('latin'), d)

If you pass in a u"unicodestring" it doesn't get quoted the way ascii does.

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-12-11 10:09

Message:
Logged In: YES 
user_id=43607
Originator: NO

Fixed in CVS in the stable branch.  This will be propagated to the
development branch within a few days.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1845266&group_id=56967

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to