perl absolutely urgently needs a "stop fucking with my binary data,Can you provide an example? Perl doesn't change from bytes to unicode without being told to do so.
unicode morons, I need it like it is" pragma.
Background: UNIX filenames are abitrary sequences of bytes whose values
are neither 47 nor 0. And - coincidentally - UNIX filenames sometimes
need to be handled in applications. Imagine that.
On Friday, December 17, 2021 at 8:16:13 PM UTC+1, Rainer Weikusat wrote:
perl absolutely urgently needs a "stop fucking with my binary data,Can you provide an example? Perl doesn't change from bytes to unicode
unicode morons, I need it like it is" pragma.
Background: UNIX filenames are abitrary sequences of bytes whose values
are neither 47 nor 0. And - coincidentally - UNIX filenames sometimes
need to be handled in applications. Imagine that.
without being told to do so.
"E. Choroba" <[email protected]> writes:
On Friday, December 17, 2021 at 8:16:13 PM UTC+1, Rainer Weikusat wrote:
perl absolutely urgently needs a "stop fucking with my binary data,Can you provide an example? Perl doesn't change from bytes to unicode
unicode morons, I need it like it is" pragma.
Background: UNIX filenames are abitrary sequences of bytes whose values
are neither 47 nor 0. And - coincidentally - UNIX filenames sometimes
need to be handled in applications. Imagine that.
without being told to do so.
Bug in my code in this case. That's why I cancelled the
posting. Nevertheless, a way to mark something as "leave alone under all circumstances" would be helpful. I've had cases of silent conversion of binary data to UTF-8 because a string 'touched' another string with the
utf8 flag set but without bytes outside of 0 - 127 in the past.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 38:45:34 |
| Calls: | 12,109 |
| Files: | 15,006 |
| Messages: | 6,518,383 |