跳至內容

en Remove diacritics (Python) Z12392
zh-hant 實作

Ùi Wikifunctions
add label
Converting reference to programming language to use an ID
 
Tē 10 chōa: Tē 10 chōa:
"Z14K3": {
"Z14K3": {
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": {
"Z16K1": "Z610",
"Z1K1": "Z61",
"Z61K1": "python"
},
"Z16K2": "from unicodedata import normalize, combining\n\ndef Z12391(Z12391K1):\n decomposed = normalize(\"NFD\", Z12391K1)\n return \"\".join(char for char in decomposed if not combining(char))\n"
"Z16K2": "from unicodedata import normalize, combining\n\ndef Z12391(Z12391K1):\n decomposed = normalize(\"NFD\", Z12391K1)\n return \"\".join(char for char in decomposed if not combining(char))\n"
}
}

2024-nî 5-goe̍h 22-ji̍t (pài-saⁿ) 16:15 muōi-muōi siŏh-huôi biĕng-cĭk

此頁面以沒有JavaScript的方式顯示