Yes, it's my bad. The perl version got swapped.
new Linux server with Fedora 38 Operating system has Perl version 5.36.0;
old Linux server Centos Operating System has perl version 5.16.3
| [reply] |
Well that makes a lot more sense :-)
I see you have updated your original post, which is good. However, please mark your updates as such when you have a moment otherwise this entire subthread becomes confusing and/or meaningless. Thanks.
| [reply] |
That sounds much better.
There *may* be a problem with accidentaly outputting the internal Unicode representation to a subsystem that requires classic 8 bit per byte stuff (e.g. print, file handling, network sockets, databases, etc).
You can try to use Encode to encode/decode internal Unicode to UTF8. E.g.:
use Encode qw(decode encode);
$characters = decode('UTF-8', $octets, Encode::FB_CROAK);
$octets = encode('UTF-8', $characters, Encode::FB_CROAK);
You might have to do that in multiple places.
It's hard to give you any better information, a Short, Self-Contained, Correct Example would prove helpful in narrowing down the problem further.
| [reply] [d/l] |