Opening an Unsupprted File in a Notepad++ -


when open unsupported file in notepad++ program , see random characters, random characters encrypted characters of original file or they? represent?

edit: question got answered successfully.

the random characters symbols represent binary contents of file. symbol see depend on encoding use. example, if make .txt file , write letters it, see on screen symbols represent bits (zeroes , ones) written in file. in case of .txt file, encoding used ascii. ascii interprets sets of 8 bits (bytes) , changes them symbol see on screen. example, when write letter a, what's written in file number 65 in binary: 01000001

but notepad++ supports many different encodings. can switch encoding in encoding toolbar. when open random file, has data written in bits (0011101001...) program, manipulates these files understands (like image viewers image files , media players music files), not letters , words, that's why weird symbols, because notepad++ trying interpret bits letters.

i hope makes little bit more clear, if not, ask further specifics.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -