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

using whitespace to control HTML layout is painful to even suggest

Alright, I'm glad that's settled. Screenshot of output shows initial output. I'm really impressed with the style, thank you for writing it. The campaign continues between readmore tags:

It looks like a string coming from Data::Dump, does it not?

Thanks for your comments,

Replies are listed 'Best First'.
Re^3: getting html characters to align
by poj (Abbot) on Mar 09, 2019 at 10:19 UTC
    #print $fh $$string; # ^^ print $fh $string;
    poj
Re^3: getting html characters to align
by Anonymous Monk on Mar 09, 2019 at 13:42 UTC

    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.

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

      Cheers,