Does a file on windows have an encoding attribute? -


i have been reading issue trying figure out actual encoding of file , complications. need know encoding of file set when saved. windows store information somewhere similar file type , date modified etc., ?

that's not available. windows file system (ntfs) doesn't store metadata file beyond trivial stuff name, extension, last written date, etcetera. nothing that's specific file type.

all have available bom, bytes @ beginning of file indicate utf encoding , byte order. exists files encoded in utf and, unfortunately, optional. real troublemakers text files encoded particular 8-bit non-unicode code page. created legacy application. nothing can hope file wasn't created far away machine default system code page match.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -