T
T
Tesla4o2020-07-23 18:56:31
C++ / C#
Tesla4o, 2020-07-23 18:56:31

How to get the same hashes on different OS?

On Windows, I wrote an interface in Qt that reads lines from a .txt file (the file is created in Windows itself) and parses them, then makes a hash from the received data. On Linux, the same data and a hash is also made, and you need to make sure that they converge. But because of different encodings does not work. The text in the file is Russian.
Tell me how to solve this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2020-07-23
@Tesla4o

But because of different encodings does not work

Use the same encoding

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question