给定:
str1 = "é" # Latin accent
str2 = "囧" # Chinese character
str3 = "ジ" # Japanese character
str4 = "e" # English character
如何区分
str1
(拉丁重音字符)和其他字符串?更新:
给定:
str1 = "\xE9" # Latin accent é actually stored as \xE9 reading from a file
答案会有什么不同?