Fix utf8 python snipet