Not sure I understand your question, but if you're getting the string you quote from the game's output, there's nothing to prevent you from using your script (and, perhaps, use CGI; to simply feed it back out to the html, using non-interpolating (single) quotes. Even the § will appear, as is, with proper <meta http-equiv="Content-Type" content="text/html; charset=..."> declarations and a reasonable (read, perhaps: Firefox) browser.

If the issue is more complex you may wish to edit your question by adding a bit more detail (identifying the update) and including existing code (within <c>...</c> tags.)

Update: Fixed typo in meta mention. And BTW, this is an example of properly marking an update of an existing node.


In reply to Re: Game Nicknames to HTML by ww
in thread Game Nicknames to HTML by baltic.sailor

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.