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
#15
(Sep-07-2020, 09:53 AM)ashok Wrote: i have created the file by Geany editor in raspbian and i save it with .py extension.

Something is wrong on the Linux side then because file shouldn't be saying the file is "data". I haven't used Geany, but I'd be surprised if a text editor is doing that.
Reply


Messages In This Thread
RE: get original code after being encoded to UTF-8 - by ndc85430 - Sep-07-2020, 11:53 AM

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