In this example , str2 will no longer have any unicode characters (those are ignored or dropped). str2 = str1.encode('ascii', 'ignore').decode('ascii') ...
確定! 回上一頁