1
In a function I get strings in this template
message="'J\\xe1'"; //sendo '\xe1' = á
I need to turn these bars " " into a single bar ' ' ' to get the Unicode code ace, where this string can be any sentence and the bars can be anywhere and appear in more than one place.
In fact I get these variables by python, my html code is manipulated by python through Selenium.
– Linha de Código
This information comes from a database
– Linha de Código
Yes, Selenium browses web pages, but in my application it takes data from DB and inserts it into pages
– Linha de Código
Yeah, like I said, the problem could be how you take this data and maybe you’re using a solution to solve a problem that maybe didn’t even have to exist, but I’m just saying this because I wanted to give you a strength to work around the problem more efficiently, But if it’s all right with you. until next and a good evening
– Guilherme Nascimento
In fact, the problem arises when python has difficulties working directly with characters outside of ASCII, so instead of working with bytes, I went straight to Unicode code
– Linha de Código