Nice idea, and nearly there... I think.

However, executing the script (Win32) with the default codepage for US yields:

Malformed UTF-8 character (unexpected continuation byte 0xb5, with no +preceding start byte) at (eval 27) line 7. Malformed UTF-8 character (unexpected continuation byte 0xb5, with no +preceding start byte) at (eval 27) line 19. Malformed UTF-8 character (unexpected continuation byte 0xb5, with no +preceding start byte) at (eval 27) line 34. Malformed UTF-8 character (unexpected continuation byte 0xb5, with no +preceding start byte) at (eval 27) line 34. [19┬░(25┬░/13┬░)Scattered Thunders +torms|Γÿü26┬░/13┬░]

Switching codepages helps:

>mode con cp select=65001 Status for device CON: ---------------------- Lines: 600 Columns: 220 Keyboard rate: 31 Keyboard delay: 1 Code page: 65001 >wx.pl # Identical four "Malformed UTF-8 message [18°(25°/13°)Scattered Thunderstorms|&#9729;26°/13°] /13°] <p>Certainly an improvement... and given my (wilful) iggerance of code +pages and charsets, perhaps one (user) step from being as desired. Ho +wever, <c> ;echo on
or off has no apparent effect. Nonetheless, interesing project!


In reply to Re: Google Weather for dwm by ww
in thread Google Weather for dwm by xyzzy

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.