For each character in the string this displays:
- The character
- It's unicode character code in hex
- It's unicode character code number
string text = "0 a+…”";
foreach (char c in text)
{
Console.WriteLine("{0} U+{1:x4} {2}", c, (int)c, (int)c);
}
HTH
Tim