我有一個包含 8105 個中文字符的Unicode 代碼點的文件,看起來類似于U+516DU+4E03U+516B我理解這些代表以下漢字六 [Chinese character for 'six', Reference http://hanzidb.org/character/%E5%85%AD]七 [Chinese character for 'seven', Reference http://hanzidb.org/character/%E4%B8%83]八 [Chinese character for 'eight', Reference http://hanzidb.org/character/%E5%85%AB]如何使用 Python 3 將包含字符串U+516D, U+4E03,的文件轉換U+516B為對應的漢字?任何幫助,將不勝感激。提前致謝。
使用 Python 將中文 Unicode 碼位轉換為字符串
慕田峪9158850
2022-07-26 15:49:12