Fix repr with non-ascii strings