The subtlety was that I had saved the variable as plain text with a .txt file extension (see my KM macro).
When this gets opened it shows up wrong (with the encodings).
It should have been given the .html extension. Thanks.
1 Like