I'm trying (without success) to convert the following string (it has the ł ={LATIN SMALL LETTER L WITH STROKE} character encodede in unicode):
Marta Ga\u0142szewska in the following utf-8 hex form:
Marta Ga%C5%82uszewska How I can achieve that conversion using Python and store the result in a variable like variable = "Marta Ga%C5%82uszewska"?
Marta%20Ga%C5%82szewska). Python UTF-8 encoding would generally look likeMarta Ga\xc5\x82szewska. Can you explain what you're using this style of percent encoding for, and what rule you need for your encoding?