in reply to Re: replacement for deprecated encoding pragma
in thread replacement for deprecated encoding pragma
I suspect that you have it backwards. The function refPrint returns a string of html encoded as utf-8. The template expects a normal perl character string. (The function decode decodes the utf-8 into the required perl character string.) I do not understand why, but seems that STDOUT must print the utf-8 characters to the terminal without any further encoding.
If you really can salvage your legacy software this easily, why not do it? Be sure to document the need for it and how you found it.
Bill
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: replacement for deprecated encoding pragma
by igoryonya (Pilgrim) on Jul 20, 2021 at 03:20 UTC | |
by haj (Vicar) on Jul 20, 2021 at 06:32 UTC | |
by BillKSmith (Monsignor) on Jul 20, 2021 at 15:18 UTC | |
by ikegami (Patriarch) on Jul 22, 2021 at 04:20 UTC |
In Section
Seekers of Perl Wisdom