I am converting UTF8 string to integer, and on the other side around. If I enter के in the form of a string, then it changes to 21328. But when I try to convert 21328 back into the string, I get "PS".
I tried:
int Dec = convert toInt32 (decimal 1. text, 10); Byte [] bet = new byte [4]; Budget [0] = (byte) (dct> 24); Betting [1] = (byte) (DCT> 16); Betting [2] = (byte) (dct> 8); Betting [3] = (byte) DC; Znak1.Text = encoding. UTF8.GetString (budget);
I have also tried to use bitcannar and got the same result. I thought, this could be a problem with the text box, and I tried to write it in Notepad, but got the same result ...
Try this:
byte [] budget = hextoobides (hex 1. text); Four c = 'a'; If (bjp length == 1) {c = (four) betting [0]; } And if (bet) == 2} {c = (four) ((budget [0]
Comments
Post a Comment