Fixed error with national characters - removed encode('utf-8').