Originally posted by zouzhxi at 2006-10-15 22:51:
TO redtek:
This is a file someone gave me. They told me that I just need to replace the letters and numbers with specific characters to find out what it is. I have no way...
TO lxmxn:
You said use Notepad...
This file someone gave you, just use a tool to replace it~ : )
Because this is only a one-time thing. Your friend might only give you this type of file this once, not often.
And the decoding requires only a small part. Even if you do the automatic processing, it's just a half-finished product.
(From a psychological perspective: Making a half-finished product for a friend is unacceptable. It's not challenging or fulfilling, like doing menial work)
( It's like walking halfway to a beautiful park and then going home halfway, haha)
It's better to use some tools to replace the one-time file~ : )
But I guess this might not be a one-time file processing.
It might be SQL storage private encoding and decoding to use,
or a simple encryption method to use on some JavaScript,
or a simple plaintext encryption code to use for chatting, maybe to prevent special character or command filtering or for easy processing,
or a custom encoding and decoding application like BASE64,
or a custom private encoding and decoding for a confidential document like a diary,
or a similar decoding required by the company for a certain file content (such as input method, code table... )
So, actually, the above problem. If the number of lines per line is not fixed, if there are tens of thousands of lines, and special symbols are included, etc.... Many problems will affect the solution speed and method of batch processing.
Example: The processing methods and algorithms for tens of thousands of lines and a few lines are different~ : )
So, if your content is not confidential, you can upload it all to let everyone help you think of a way together.
Please explain the very detailed application of this matter (if there are no private or enterprise secrets or other constraints)~ : )
) One-time conversion is still better with tools~ : )
) For daily use, it's convenient to use batch processing or call tools~ : )
) Must use DOS instead of other external tools. This is not very clear... (It seems you need to process these often, right?)