Encoding.ASCII.GetString (bytes) return String is not as expected RRS feed

  • General discussion

  • byte[] bytes = { 0x36,0x92,0x30,0x94};

     string result = Encoding.ASCII.GetString(bytes); // result = "6?0?";

     result == "6’0”"  is Exactly . So result == "6?0?" is Wrong. Please help me Fix Ascii.GetString(bytes);


    Friday, August 27, 2010 9:09 AM

All replies

  • Dear customer,

    Please try reposting your .NET Framework programming question to the MSDN forums at http://social.msdn.microsoft.com/Forums/en-US/categories. This forum is limited to the Fix it Center tool only.


    Daniel Chow
    Sr. Software Development Engineer
    Product Quality and Online

    This email is provided "AS IS" with no warranties, and confers no rights.
    Friday, September 3, 2010 7:09 AM