I have a German string in C#

string s = "Menü";

I would like to get UTF-8 codepoints:

expected result:

```
\x4D\x65\x6E\xC3\xBC

```

The expected result has been verified via [online UTF-8 encoder/decoder](https://mothereff.in/utf-8) and via [Unicode code converter v8.1](https://mothereff.in/utf-8)

I tried a lot of conversion methods but I cannot get the expected result.

UPDATE:

Funny, the problem was not in the source code but in the wrong encoding in the input file :-) These answers helped me a lot.