Linked Questions

43 questions linked to/from Working with UTF-8 encoding in Python source
0 votes
1 answer
185 views

I am playing around with screenscraping with BeautifulSoup on a Norwegian site. I need to check if a string contains the word "Pålogget" (meaning logged on). if "Pålogget" in status: I get the ...
3 votes
1 answer
364 views

I have a table in mysql with tamil characters. Using python i attempted to fetch data from the table, and tried to print the response in json format. def train_masters_live(): questions = ...
Thara's user avatar
  • 281
1 vote
0 answers
352 views

Problem Statement: I have a file containing Japanese characters located in my Google Cloud Storage Bucket. While downloading and printing the contents of the same, I find that the Japanese characters ...
1 vote
3 answers
297 views

How do I declare an encoding for this code? I know how to declare encoding in other situations but how would I do it with this? if used_prefix and cmd=="shoot" and user.name in whitelist: name = ...
0 votes
2 answers
231 views

I am scraping an xml webpage for names of people via RE searching, however if the names contain special characters python is not reading them correctly. For Example: Güngüneş A comes out as: G\xc3\...
0 votes
1 answer
210 views

I am trying to save a python-docx document in Ubuntu, but I get this error: 'ascii' codec can't encode character '\xed' in position 65: ordinal not in range(128). I tried to apply this solution, but I ...
HuLu ViCa's user avatar
  • 5,515
0 votes
0 answers
199 views

I've recently started using jpype and it worked nice so far but when I tried to pass a string with polish diacritic sings (ą,ć,ó - stuff like that) as a parameter it throws UnicodeDecodeError. Even ...
1 vote
1 answer
112 views

I have a python code which adds rows to the MySQL database which runs on the same machine. The code is as follows: import mysql.connector config = { 'user': 'root', 'password': 'a$$enjoyer', '...
0 votes
1 answer
93 views

Here's a strange one. First of all: This is NOT a problem with the encoding of a python script file that I have written myself or am importing (see e.g. Working with UTF-8 encoding in Python source ...
0 votes
1 answer
85 views

I'm having a problem using sys.argv[] to pass some values to a Python script. My Python script is like that: #Obtención de los valores provenientes del servidor referencia = sys.argv[1] #referencia ...
2 votes
2 answers
54 views

I have this line: #str = u'Harsha: This has unicode character ♭.\n' This line causes SyntaxError: Non-ASCII character '\xe2' even if it's commented. If I remove this line the error is gone. Can ...
0 votes
0 answers
33 views

I have a HTML file containing words like <i>r&#363;pa</i>. How to convert it into rūpa(rūpa)? Is there any way to convert it? Also i get to know that these are the html ...
0 votes
1 answer
31 views

1st table is my input table present in 1 data frame and 2nd table is my result table. can some one please help how to solve this using python [1]: https://i.sstatic.net/CJzgW.jpg

15 30 50 per page
1 2
3