Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problema printing unicode

6 views
Skip to first unread message

gamo

unread,
Feb 6, 2022, 11:27:45 AM2/6/22
to

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?"'

Tony Mountifield

unread,
Feb 6, 2022, 1:19:31 PM2/6/22
to
In article <stostp$fek$1...@gioia.aioe.org>, gamo <ga...@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: to...@softins.co.uk - http://www.softins.co.uk
Play: to...@mountifield.org - http://tony.mountifield.org

gamo

unread,
Feb 6, 2022, 3:40:44 PM2/6/22
to
El 6/2/22 a las 19:19, Tony Mountifield escribió:
> In article <stostp$fek$1...@gioia.aioe.org>, gamo <ga...@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 ."'
0 new messages