2009年1月23日星期五

"Failed to decode file in the default character encoding" in vmware workstation 6.5

环境:
os: ubuntu 8.10 x64
vmware workstation 6.5.1 x64

症状描述:
打开一windows2000虚拟机,报错:
Unable to open: File "/mnt/doctools/woody/VMFIles/test/windows2000ProfessionalSP4/Windows 2000 Professional.vmx": Value "E:\x5C\xB7\xAC\xC7\xD1\xBB\xA8\xD4\xB0\x5Cwindows_all.nrg" for variable "ide1:0.fileName" is not valid in encoding "UTF-8".
File "/mnt/doctools/woody/VMFIles/test/windows2000ProfessionalSP4/Windows 2000 Professional.vmx": Failed to decode file in the default character encoding.

原因:
该虚拟机原来在windows xp下ntfs文件系统创建,虚拟机配置文件(.vmx)编码为GBK,不是utf-8。

解决方法:
gedit打开.vmx,令存为utf-8编码方式。

即可正常打开!

标签:


评论: 发表评论

订阅 博文评论 [Atom]





<< 主页

This page is powered by Blogger. Isn't yours?

订阅 博文 [Atom]