Characters are replaced by a diamond with a question mark

I kind of agree with @AndrewK this sounds a lot like a culture issue, mostly due to you mentioning it happens in other places besides invoke code too.
At first i though about this one

i never found the time to test this, so don’t know what was the issue there.