Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
455 views
in Technique[技术] by (71.8m points)

hex - Uknown file encoding

So, I'm trying to find out the encoding of some files. The problem is, that I've tryed all available encodings and none gave me readable result.

I can open the file like this:

4e46 5353 0401 0100 3419 c517 a3fe 37cc
7fec df41 1e3f 0b49 5546 4b5d c443 0300
ae81 3aac 461a 6bc2 bbd3 d80a 2377 9656
9275 f466 5cac c0f0 acb3 40e5 b61b f9e4
00ee 8b48 caed 7b74 f95c 78e0 998c 4be0
09c8 08a4 8810 a023 026d 1b91 836c 5f12
ebc4 b2c7 4625 c351 a607 4f7d 5e0e 75ed
395f fecc b337 7f72 7ce7 8d72 a43f 8a69
14ef 570c 2be2 cd70 d80f 64d4 3043 4862
f89b 81af 3d56 0f0b b600 14aa c4ec 773b
56b4 44ee f82b 1d5b 8053 8560 5123 4693

or like this:

NFSS 4Е?ю7МмЯA?IUFK]ДC ??:?FkВ?УШ
#w–V’uфf?Ар??@е?щд о?HКн{tщxа??Kа    И¤€?#m‘?l_лД?ЗF%ГQ|O}^uн9_юМ?7r|з?r¤??iпW+вНpШdФ0CHbш???=V? ?Дмw;V?Dош+[?S…`Q#F“S?фЯgЪ;CYД-??Л?{??С?”9?[?_=>?’вQэ?ч%??QГ??)A?Зi .?я?g?‘ ?W_—2?=y#Ъ·"|?xД??%Жчб~‰?э?d3}~f·Ёк‰ЙНх>?нПV?ЮBк;€¤TCкЫя?·W·
?iзИ?T(??§2?eR=?3@oфП??ыя ?? (G?????б?(?[°§

I've uploaded some other files to google drive. All of them have the same beginning: NFSS (It's NFS game save file). https://drive.google.com/drive/folders/17nXVo_cHu2jKtRAdKAEhLuPbmMW5CuaY?usp=sharing

So, can anybody detect the encoding? And explain how to do it?

question from:https://stackoverflow.com/questions/65883870/uknown-file-encoding

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can use the file command.
file -i gives you some usefull info in these cases:

636468866: application/octet-stream; charset=binary

However as pointed by joachim-sauer this is the fallback and provides nothing.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...