P
P
Pavel K2016-01-29 16:06:57
Qt
Pavel K, 2016-01-29 16:06:57

How to convert a string like \x98\x9F\xAD*\x00\x00\x00\ to normal?

Greetings!
From sockets in QByteArray comes such a string, in my opinion encoded in hex.
What is the easiest way to bring it back to normal?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AtomKrieg, 2016-01-29
@PavelK

g.zeos.in/?q=qbytearray%20to%20qstring
stackoverflow.com/questions/14131127/qbytearray-to...
the main thing is to guess with the encoding (well, no one guarantees that this is a string)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question