I have a string like "válido"
. Usually python can convert this to hex based easily on the command prompt and this would become 'v\xc3\x83\xc2\xa1lido'
But I want to use \u
for the unicode codepoints, so I want the output like "v\u00c2\u00a1lido"
So basically the input should be "válido"
and the output should be "v\u00c2\u00a1lido"