This is requires bit of understanding on how the current cat treats the characters that are outside the ascii range, also the manual mentions that it treats the characters with the high bit set as M-, this needs a bit of analysis.
See the following link: https://docstore.mik.ua/orelly/unix/upt/ch25_07.htm#:~:text=Instead%2C%20try%20cat%20%2Dv%20.,non%2Dprintable%20files%20is%20od%20.
This is requires bit of understanding on how the current cat treats the characters that are outside the ascii range, also the manual mentions that it treats the characters with the high bit set as M-, this needs a bit of analysis.
See the following link: https://docstore.mik.ua/orelly/unix/upt/ch25_07.htm#:~:text=Instead%2C%20try%20cat%20%2Dv%20.,non%2Dprintable%20files%20is%20od%20.