3
Answers

javascirpt and C#

I prepared the below CSharp code and I want to send that encoded data to js file where i want original data... Is it possible to decode it on js page Problem: the byte array send by csharp file is not decoded at js

 UTF8Encoding utf8 = new UTF8Encoding();
        String unicodeString = "ABCD";
        // Encode the string.
        Byte[] encodedBytes = utf8.GetBytes(unicodeString);
Answers (3)