Python Forum
utf-8 decoding failed every time i try
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
utf-8 decoding failed every time i try
#13
Hello everyone,

i am facing a strange issue for last several days, no one could solve this problem so far for me..
i am sharing the problem in a simple words here

Whenever i enter this line or similar in my server python3.6 and 3.7 versions. i got unicodedecodeerror.

>>> s = 'BebĂȘs'
exactly after this line i get error. http://prntscr.com/ox21gf
this is causing the problem i am unable to match / query such unicode strings in mysql too

btw this is all working perfectly on my Windows PC .. and a ubuntu linux i installed on VMWare on my Windows PC .
But on my servers, i am facing the above problem .. i am waiting for your replies guyz, Kindly help me out.
Python version i am using is 3.6 and 3.7

Thanks
Reply


Messages In This Thread
Any one who can really solve this strange problem? - by adnanahsan - Aug-26-2019, 11:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Decoding lat/long in file name johnmcd 4 545 Mar-22-2024, 11:51 AM
Last Post: johnmcd
  Enigma Decoding Problem krisarmstrong 4 911 Dec-14-2023, 10:42 AM
Last Post: Larz60+
  json decoding error deneme2 10 4,109 Mar-22-2023, 10:44 PM
Last Post: deanhystad
  flask app decoding problem mesbah 0 2,442 Aug-01-2021, 08:32 PM
Last Post: mesbah
  Decoding a serial stream AKGentile1963 7 9,013 Mar-20-2021, 08:07 PM
Last Post: deanhystad
  xml decoding failure(bs4) roughstroke 1 2,349 May-09-2020, 04:37 PM
Last Post: snippsat
  python3 decoding problem but python2 OK mesbah 0 1,864 Nov-30-2019, 04:42 PM
Last Post: mesbah
  hex decoding in Python 3 rdirksen 2 4,725 May-12-2019, 11:49 AM
Last Post: rdirksen
  Decoding log files in binary using an XML file. captainfantastic 1 2,512 Apr-04-2019, 02:24 AM
Last Post: captainfantastic
  decoding sub.process output with multiple \n? searching1 2 2,894 Feb-24-2019, 12:00 AM
Last Post: searching1

Forum Jump:

User Panel Messages

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