[pve-devel] [PATCH common 1/3] INotify.pm: add binmode utf8 to read/update_file

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Aug 24 17:14:47 CEST 2018


On 8/24/18 4:56 PM, Dietmar Maurer wrote:
> BTW, why do you think /etc/hosts may contain utf8 characters? 
> Is that defined/documented somewhere?
> 

With his patch the whole file including comments gets returned as "raw",
and comments can contain utf-8 (not defending the binmode)




More information about the pve-devel mailing list