in reply to Re^2: getting html characters to align
in thread getting html characters to align

It seems like you are only missing <meta charset="UTF-8"> in the <head> part of your HTML. That is, take the HTML you currently generate, place it in <body>...</body> tags, then buryplace the body between <html>...</html>. Finally, add <head><meta charset="UTF-8"></head> before the body (but still inside html).

Browsers tend to assume latin1 encoding when it hasn't been explicitly declared, so what you see is the result of decoding UTF-8-encoded text as Latin-1. Pages of your website have this tag, so they get decoded properly.

Replies are listed 'Best First'.
Re^4: getting html characters to align
by Aldebaran (Curate) on Mar 11, 2019 at 20:42 UTC

    This shows the latest version of this material. Discussion continues:

    Cheers,