Gerhard Weis wrote:
> Hi,
> 
> I am using utf-8 as system default character encoding in python. The 
> enforce_unicode method in module kss.core.unicode_quirks assumes
> by default ascii encoding, which causes every now and then 
> UnicodeDecodeErrors in my plone-site.
> 
> I attached a small patch which passes sys.getdefaultencoding() as 
> default parameter to enforce_unicde. Works fine here.

Thanks a lot for your patch (sorry for waiting so long to acknowledge it 
:-s )

> 
> The patch is against kss.core/branch/1.4.
> 
> Tests with the patch applied to version 1.4.7 run fine too.
> 
> Kind Regards,
> 
> Gerhard
> 
> 

Would you have an idea how to add a test for this bug ?

Thanks


-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be

_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to