KB177477: Difference between revisions

From The LI AO Wiki
Create an empty page.
Tag: 2017 source edit
 
Save contents. This request is sent from a Chromium browser that uses Internet connection which has per-object abstraction model as one or multiple child objects of object that has OID 1.3.6.1.4.1.60218.21.2.6517 , for the browsing session.
 
Line 1: Line 1:
== Heading 2 ==
{{DISPLAYTITLE:KB177477: Warnings on Manipulating VMware VM Configuration Files}}
 
== Introduction ==
This article gives an important warning about normal user procedures of manipulation of VMware virtual machine configuration files. The Windows notepad program may be used to modify these files with which character encoding may be ignored by the user, then, after saving the file previous data might lost.
 
== Symptoms ==
A user opens a VMware virtual machine configuration file (.vmx) using Windows' Notepad program, and made appropriate changes to the configuration file. After confirming the modified portion, he/she saves the file directly, which may cause data loss because of character encoding issues.
 
== Cause ==
The root cause of this issue is because of the Notepad program fails to handle certain character encoding. The exact character encoding supported by Notepad is up decided by the non-Unicode character setting of Windows for which the program relies on. For example, on a Windows installation that has this setting set to Unicode, GB2312-encoded files will be unable to open correctly, and subsequent saves will render those encoded data lost.
 
Moreover, certain VMware products, including VMware Workstation, determines the right character encoding that can be used to save data in the configuration file. If only Chinese characters included in GB2312 are entered in the Notes section of a virtual machine, the entire configuration file may be saved using such encoding method. Manipulating such a file with Notepad running on an English copy of Windows might then encounter this issue.
 
== Solution ==
Use another plain-text editing program, for example, Notepad++, to modify those kinds of files. Or, modify the files only when confirmed that Notepad supports the correct character encoding of these files.
[[Category:KB articles]]
__INDEX__

Latest revision as of 00:34, 27 October 2024


Introduction

This article gives an important warning about normal user procedures of manipulation of VMware virtual machine configuration files. The Windows notepad program may be used to modify these files with which character encoding may be ignored by the user, then, after saving the file previous data might lost.

Symptoms

A user opens a VMware virtual machine configuration file (.vmx) using Windows' Notepad program, and made appropriate changes to the configuration file. After confirming the modified portion, he/she saves the file directly, which may cause data loss because of character encoding issues.

Cause

The root cause of this issue is because of the Notepad program fails to handle certain character encoding. The exact character encoding supported by Notepad is up decided by the non-Unicode character setting of Windows for which the program relies on. For example, on a Windows installation that has this setting set to Unicode, GB2312-encoded files will be unable to open correctly, and subsequent saves will render those encoded data lost.

Moreover, certain VMware products, including VMware Workstation, determines the right character encoding that can be used to save data in the configuration file. If only Chinese characters included in GB2312 are entered in the Notes section of a virtual machine, the entire configuration file may be saved using such encoding method. Manipulating such a file with Notepad running on an English copy of Windows might then encounter this issue.

Solution

Use another plain-text editing program, for example, Notepad++, to modify those kinds of files. Or, modify the files only when confirmed that Notepad supports the correct character encoding of these files.