]> git.proxmox.com Git - pve-cluster.git/commit
cluster fs: allow to force UTF-8 encoding for cfs_write_file
authorLukas Wagner <l.wagner@proxmox.com>
Wed, 30 Aug 2023 12:37:53 +0000 (14:37 +0200)
committerFiona Ebner <f.ebner@proxmox.com>
Mon, 11 Sep 2023 11:41:50 +0000 (13:41 +0200)
commit90c824bafe59c484a84403d09cad3a66723bd2cb
tree6cb50da8b9e0831c27bb6655f02a6d45a313ec93
parent317a212f697444dd27e54a0f693b777f2861ca15
cluster fs: allow to force UTF-8 encoding for cfs_write_file

Since this function is used to store utf8-encoded strings that come
from Rust, we need to be able to save the file in proper utf8 encoding
as well.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
[FE: use flag parameter instead of encoding as a string]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/Cluster.pm