Article 5H0CW How do I identify this character in a file?

How do I identify this character in a file?

by
lucmove
from LinuxQuestions.org on (#5H0CW)
I have a file that is a pair list with separators. The list was Ctrl + c copied from a Windows Registry key. I pasted the list into Notepad, saved the file with ANSI encoding and brought it to Linux.

I cannot identify the separator characters, but I have this:

Code:$ od -c file.txt | head

0000000 a l t e r a c 343 o 001 a l t e r a
0000020 347 343 o 002 a l t e r a c 365 e s 001 a
0000040 l t e r a 347 365 e s 002 b r a z i l
0000060 001 B r a z i l 002 c a t a l g o 001
0000100 c a t 341 l o g o 002 c i r c u n t
0000120 a n c i a s 001 c i r c u n s t 342
0000140 n c i a s 002 c l e n t e 001 c l i
0000160 e n t e 002 c o n f i g u r 347 343 o
0000200 001 c o n f i g u r a 347 343 o 002 c o
0000220 n f i g u r a c 343 o 001 c o n f iThe two separators are obviously 001 and 002. I'm sure of it because I can easily tell the words (in Portuguese) that they are separating.

Now I need to know what characters those separators are so I can produce them in a script and build a new list to be pasted back into the source.

My questions: what characters are those (give me the fish) and how does one find out exactly what characters they are in situations like this (teach me how to fish)?

TIAlatest?d=yIl2AUoC8zA latest?i=NYy5O8l4tmM:4Cpw5w0lrHI:F7zBnMy latest?i=NYy5O8l4tmM:4Cpw5w0lrHI:V_sGLiP latest?d=qj6IDK7rITs latest?i=NYy5O8l4tmM:4Cpw5w0lrHI:gIN9vFwNYy5O8l4tmM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments