unicodedata.normalize

1.Input string to be normalized
2.select type
3.click to run
Converted result:
Converted detail:
import unicodedata def unicodedata_normalize(): convertTargetTextarea = Element("convertTargetTextarea") convertResultTextarea = Element("convertResultTextarea") convertDetailTextarea = Element("convertDetailTextarea") normalizeTypeSelect = Element("normalizeTypeSelect") normalizeType = normalizeTypeSelect.element.value convertedString = unicodedata.normalize(normalizeType, convertTargetTextarea.element.value) convertedChars = list(convertedString) convertResultTextarea.element.innerText = convertedString convertDetailTextarea.element.innerText = convertedChars #convertResultTextarea.element.innerText = unicodedata.normalize(normalizeType, convertTargetTextarea.element.value)