Zum Inhalt springen

en Remove diacritics (Python) Z12392
de Implementierung

Aus Wikifunctions
add label
Converting reference to programming language to use an ID
 
Zeile 10: Zeile 10:
"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"
}
}

Aktuelle Version vom 22. Mai 2024, 16:15 Uhr

Diese Seite wird ohne JavaScript nur in eingeschränkter Weise angezeigt.