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