MBS; WebView2ControlMBS; UTF-8

This is not an error in WebView2ControlMBS.
At least, I can’t get around it.

When I embed script using Umlauts (ä, ö, etc.), ExecuteScript does not work.
This is the case for JavaScript source code embedding.
And I changed that one occurance; annoying anyway to use these for variables, etc.

Umlauts given as String in JavaScript are shown encrypted in WebView2-control.

I have <meta charset="utf-8" /> in HTML head.

And Xojo String is UTF-8 as I know; or is UTF-16 used?

Any idea what setting I missed here?

Thanks a lot in advance!

JS = JS.DefineEncoding(Encodings.UTF8)

This is the solution…

Thanks for fixing it yourself :slight_smile: