slurp_utf8 is like slurp with a binmode of :unix:encoding(UTF-8)You could try slurp({binmode => ':utf8'})
See also Know the difference between utf8 and UTF-8 (blog of brian d foy)
In reply to Re: Path::Tiny supress unicode warnings
by soonix
in thread Path::Tiny supress unicode warnings
by leszekdubiel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |