How can I get the unicode values (from the code column) if I have the string? For example, for passing the empty space " " I would like to get the value U+0020. I found this approach:
byte[] asciiBytes1 = Encoding.ASCII.GetBytes(" "); But this returns me the value from the decimal column.

"U+0020"?stringconsists ofchars, which you can cast to ashort(orint). This will give you more characters than ASCII (which has codes from 0 to just 127). But then you may run into "surrogate pairs" ...