> 
> Malformed UTF-8 characters, possibly incorrectly encoded
> 
> 
> 

Disclaimer: Character encodings confuse me a lot.  

I want to create a lot of posts automated via the WordPress REST-API. I can create posts without an issue - unless I got *special* characters in my content. Emojis for example.

```
$params = @{
    title = $Title
    content = $Content # "foobar" would work just fine; 
                       # "äöü" will give me an error
}

Invoke-RestMethod -Uri "https://my.blog.foo/wp-json/v2/posts" `
                  -Method POST `
                  -Headers @{ Authorization = ("Basic {0}" -f $ACCESS_TOKEN) } ` 
                  -ContentType "application/json" `
                  -UseBasicParsing `
                  -Body $($params | ConvertTo-Json) 

```

I assume this actually isn't a WordPress related issue. Anyhow I'm fiddling aroundd for quite a while now and I just can't figure out a way to send my content without malforming ("ö" gets "?") it.