What is the name of this encoding?
\320\240\321\203\321\201\321\201\320\272\320\270\320\271\321\202\320\265\320\272\321\201\321\202
Are there any services (or libraries) transcoding, for example, in utf8 (in C / C ++ libraries)?
What is the name of this encoding?
\320\240\321\203\321\201\321\201\320\272\320\270\320\271\321\202\320\265\320\272\321\201\321\202
Are there any services (or libraries) transcoding, for example, in utf8 (in C / C ++ libraries)?
It looks like this “encoding” is called “Octal Escape Sequences”.
This term is used in the Bash Prompt HOWTO , here and in many other Google links.
Source: https://ru.stackoverflow.com/questions/237554/
result
string "Russiantext". So you have a UTF-8 encoded string, encoded bytes are represented in octal. - VladDConvert.ToByte
, you need to manually bypass split (foreach (var p in split) { ...
). You can restore the byte number by counting in the source line the required number of backslashes. (This is relatively slow, but the error recovery procedure has the right to be slow). 2. Bytes do not add up to the correct encoding (invalid UTF-8):Encoding
has overloads that return specials. character in place of unrecognized characters. - VladD