• Problema printing unicode

    From gamo@21:1/5 to All on Sun Feb 6 17:27:36 2022
    Dear masters:

    use 5.032;
    use utf8;


    say OUT "\x{U+2622}"; # going postal

    Gives me:

    Non-hex character 'U' terminates \x early. Resolved as "\x{00}" at
    qrfile.pl line 11.

    And the QR created is unreadable.

    Thanks in advance.


    --
    http://gamo.sdf-eu.org/
    perl -E 'say "Error: Why did you think before study or the reverse?"'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tony Mountifield@21:1/5 to gamo@telecable.es on Sun Feb 6 18:19:19 2022
    In article <stostp$fek$1@gioia.aioe.org>, gamo <gamo@telecable.es> wrote:

    Dear masters:

    use 5.032;
    use utf8;


    say OUT "\x{U+2622}"; # going postal

    Gives me:

    Non-hex character 'U' terminates \x early. Resolved as "\x{00}" at
    qrfile.pl line 11.

    And the QR created is unreadable.

    Thanks in advance.

    You don't need the U+. Just do:

    say OUT "\x{2622}"; # going postal

    Cheers
    Tony
    --
    Tony Mountifield
    Work: tony@softins.co.uk - http://www.softins.co.uk
    Play: tony@mountifield.org - http://tony.mountifield.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gamo@21:1/5 to All on Sun Feb 6 21:40:33 2022
    El 6/2/22 a las 19:19, Tony Mountifield escribió:
    In article <stostp$fek$1@gioia.aioe.org>, gamo <gamo@telecable.es> wrote:

    Dear masters:

    use 5.032;
    use utf8;


    say OUT "\x{U+2622}"; # going postal

    Gives me:

    Non-hex character 'U' terminates \x early. Resolved as "\x{00}" at
    qrfile.pl line 11.

    And the QR created is unreadable.

    Thanks in advance.

    You don't need the U+. Just do:

    say OUT "\x{2622}"; # going postal

    Cheers
    Tony

    Thanks!

    say "\x1F44F";


    --
    http://gamo.sdf-eu.org/
    perl -E 'say "Error: As there is no problem, you must do maintenance ."'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)