# HG changeset patch # User raph # Date 1260464630 -3600 # Node ID 6db6c011a310caf6d4419d994ca771516acb3630 # Parent 1b92513d708177c57223360dd1a9ed3c5e38b54e add unicode detection for txt format in upload diff -r 1b92513d7081 -r 6db6c011a310 src/cm/converters/__init__.py --- a/src/cm/converters/__init__.py Thu Dec 10 17:05:54 2009 +0100 +++ b/src/cm/converters/__init__.py Thu Dec 10 18:03:50 2009 +0100 @@ -40,7 +40,7 @@ 'text/english', 'text/enriched' ]: - converted_input = input + converted_input = to_unicode(input) ############################## # anything looks like code: put them into markdown citation