On 2025-01-14 11:16, Johan Vromans wrote:
On Mon, 13 Jan 2025 17:42:11 -0500, Shawn H Corey wrote:

I think you have to decode the file names.

      use Encode qw(decode);
      my $file = decode($ARGV[0]);
That's what I thought, but decoding is quite pointless if you get question
marks instead of UNICODE characters to start with.

The question mark comes from the terminal. It replaces unprintable characters with it. Do you have `hexdump` (aka `hd`)? Print the file names and pipe them to `hd`. Then you can see the hexadecimal codes for the characters.

--
𝑆𝒉𝒂𝒘𝒏 𝐻 𝐶𝒐𝒓𝒆𝒚 🇨🇦

Reply via email to