I have a file with contents looking like
However, I have a different version of the same file looking like
I would like to "interpret" the first file, so that hex codes (6 characters each, including
\u) get resolved to actual characters. However, as you see, the file is not really binary, but rather contains text representation of some hex codes (as well as some interpreted ones, like
I thought about using
xxd -r, with just a few obviously wrong characters as a result. How can I convert my 1st file so that it resembles the 2nd version of it?