using System; public class Test { public static void Main() { var s = @"class M‮{public static void main(String[]a‭){System.out.print(new char[]{'H','e','l','l','o',' ','W','o','r','l','d','!'});}} "; int pos = 0; foreach (char c in s) { if (c < 128) { Console.WriteLine("{0:000}: {1:0000} - '{2}'", pos, (int)c, c); } else { Console.WriteLine("{0:000}: {1:0000}", pos, (int)c); } pos++; } } }