in reply to Re^3: Unrecognized ICU conversion error
in thread Unrecognized ICU conversion error

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
  • Comment on Re^4: Unrecognized ICU conversion error

Replies are listed 'Best First'.
Re^5: Unrecognized ICU conversion error
by hippo (Archbishop) on Aug 10, 2023 at 15:10 UTC

    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.


    🦛

Re^5: Unrecognized ICU conversion error
by cavac (Prior) on Aug 11, 2023 at 11:01 UTC

    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.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP