But in your world view, [unpack "H*", pack "U", $codepoint] should return some variable number of hex digits that has no clear definition already laid out for it.
pack producing something that isn't bytes? Unpacking something that (potentially) isn't bytes? In my world view, the construct doesn't make much sense.
I don't have any experience will "U" which is why I didn't comment on it initially. I'm not in a good position to judge what the problem with the new or old method are since I don't even know what kind of problems it solves. I'll read your post when I have more time to absorb it.
In reply to Re^10: Parsing UTF-16LE CSV Records Using Text::CSV* (5.10)
by ikegami
in thread Parsing UTF-16LE CSV Records Using Text::CSV*
by Jim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |