Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试连接到我的 perforce 服务器时,我收到以下错误。我在配置中的 P4CHARSET 变量中指定了 utf8,我应该如何设置它才能使其正常工作?
ERROR: Unable to communicate with perforce. Unicode clients require a unicode enabled server. For Command: p4 -s client -i
该错误意味着您的 Perforce 服务器未在 Unicode 模式下运行。您应该取消设置 P4CHARSET 变量。
如果只需要存储非 ASCII 内容的文件,可以使用文件类型 utf16。如果您需要 Perforce 元数据(例如用户名和标签)包含非 ASCII 字符,您需要让您的 Perforce 管理员将服务器切换到 Unicode 模式。
Unicode 问题可能有点棘手,因此如果您需要详细帮助,请联系 Perforce 支持。