Fixed Python unicode issues