With respect, you are wrong! I know what data my scalars contain, and none of it is, nor could ever be mistakable, for unicode data.Then you have no reason to say "use bytes".
Any determination by perl, that IT know's better than I, is a guess--and a wrong guess! For perl to guess, against my explicit instruction to the contrary, is also wrong.Perl shouldn't guess; it should only flag as utf8 what you have (somehow or other) told it is utf8. use bytes doesn't do what you think; if anything, it will (in the presence of utf8 data) make things worse by exposing you not just to unicode characters but to the bytes that make up their encoding.
In reply to Re: Re: Re: Warning: Unicode bytes!
by Anomynous Monk
in thread Warning: Unicode bytes!
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |