I having lists of Dicts in python where almost all my Dict objects has at least a key having string value containing Non-UTF-8 Character. I want to keep them all as it is and insert them to my database and get it back later Using API.
here how my list of Dicts looks like
items=[
            {
                
                "name": "World Bank (USA)",
                "shortName": "WB",
                "description": "<p><strong>WB - World Bank</strong> - is an international financial institution that provides loans to developing countries for capital programs. The World Bank's official goal is the reduction of poverty.</p><p> </p><p> </p>",
               
                "legalResidence": "USA",
               
            },.....]
as in the description key, its value is having Html tags inside the string and it raises this error for me
SyntaxError: Non-UTF-8 code starting with '\xa0' 
How can I ignore this error and let my string be as it is?
this question has few answers and in all of them, they remove or replace these characters where I don't want to go for it. enter link description here
 
    