mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-05 02:43:24 -05:00
esx: Explictly declare VMX file content as UTF-8
This commit is contained in:
@@ -2475,6 +2475,9 @@ esxVMX_FormatConfig(esxVMX_Context *ctx, virCapsPtr caps, virDomainDefPtr def,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* vmx:.encoding */
|
||||
virBufferAddLit(&buffer, ".encoding = \"UTF-8\"\n");
|
||||
|
||||
/* vmx:config.version */
|
||||
virBufferAddLit(&buffer, "config.version = \"8\"\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user