[PYTHON] When characters and voiced / semi-voiced sound marks are separated and you want to combine them

For example, when handling the character string "report" in Unicode When the character "po" is divided into a character and a voiced / semi-voiced sound mark, such as "ho + ゜"

join_dakuten.py


import unicodedata
unicodedata.normalize('NKFC', unistr)

If you bite this function "Ho + ゜" can be treated as "Po"

Recommended Posts

When characters and voiced / semi-voiced sound marks are separated and you want to combine them
When you want to erase characters at once in terminal or line unit
When you want to update the chrome driver.
When the variable you want to superscript with matplotlib is two or more characters
Settings when you want to run python-mecab with travis
Don't ask "Are you sure you want to continue connecting"
When you want to filter with Django REST framework
When you want to play a game via Proxy
When you want to plt.save in a for statement
[Python] When you want to import and use your own package in the upper directory