Python Forum
get original code after being encoded to UTF-8
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get original code after being encoded to UTF-8
#2
UTF-8 is the norm for python.
did you inadvertently open with a 'w' mode?
if you did and don't have a backup, you may have destroyed your data.
If you made this mistake, the file will have a length of 0.
if a text file, you can look at it with any text editor.
Reply


Messages In This Thread
RE: get original code after being encoded to UTF-8 - by Larz60+ - Sep-05-2020, 03:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Can you put encoded strings into .txt files? Alivegamer 0 1,290 May-04-2022, 12:50 AM
Last Post: Alivegamer
  Looping through nested elements and updating the original list Alex_James 3 2,196 Aug-19-2021, 12:05 PM
Last Post: Alex_James
  filecmp is not working for UTF-8 BOM encoded files sureshnagarajan 3 2,677 Feb-10-2021, 11:17 AM
Last Post: sureshnagarajan
  HELP! i need the solution to show for original indexing bntayfur 1 1,554 Oct-02-2020, 06:44 PM
Last Post: buran
  Why is my original list also sorted? Pedroski55 1 1,651 Jul-15-2020, 09:25 PM
Last Post: Yoriz
  Trouble with encoded data (I think) fishglue 0 1,826 Oct-10-2019, 08:15 PM
Last Post: fishglue
  convert hex encoded string to ASCII Skaperen 4 114,720 Oct-02-2016, 09:22 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020