Loading...

Python 如何把 big5 text 轉成 utf-8 string

Temperature: 0 °C

蘇恆永 蘇恆永
author_tools

記錄一下

# 先轉成 latin1,再轉回 big5 ......

big5text.encode('latin1', 'ignore').decode('big5')

 

https://innstory.com/story-Python_如何把_big5_text_轉成_utf8_string-1829
Python

Prev
 Dockers_Monitoring_Tools

Next
等待還原資料庫中好久喔 

About the Author

蘇恆永

重新pickup本能中

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

蠟筆小新看太多了嗎?

蠟筆小新看太多了嗎?

在大家排練母親節節目的時候, 突然翔翔做起蠟筆小新的招牌動作, 是電視看太多了嗎? 我可不想當廣志啊...

寫錯字的罰單

寫錯字的罰單

和同學講完電話 突然收到這張罰單。 因為電視是用我的手機分享, 躲到小房間電視就斷訊了 innimg...

真會找理由

真會找理由

玥玥昨天去童軍團, 大家一起做紙箱車, 玩得超開心的。 但最後童軍團圍在一起, 大家在做隊呼的時候,...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format