Unable to login to Perforce source control

Hey guys,

I recently setup a Perforce server for our team. Everyone except one is able to login to Perforce Source control through the editor. Opening the visual client and opening a connection works, however connecting through UE returns the following error: ‘Unicode clients require a unicode enabled server’.

Does anyone have an idea what may be causing this?

Hey guys,

we managed to fix the problem. At first we tried to edit the environment variables on my colleague’s workstation through the Perforce client, but that did not work. We then decided to take a look at the variables through regedit and set the CHARSET variable to none (it used to be auto). This fixed his problem.

I’ll mark this question as closed.

1 Like

Wrong answer.

Reviving this because the other user is correct that the accepted answer advocates a poor practice. You’re better off resolving this by setting it explicitly in your p4 environment settings or your p4config:
p4 set P4CHARSET=none
Further information available here:

2 Likes

I encountered this bug on a Windows PC today. I fixed it by doing this:
On Windows:
Right-click This PC or Computer → Properties → Advanced system settings → Environment Variables.
Look under System variables for P4CHARSET. If it’s set, change it to “none” otherwise press new and enter the the values same as the screenshot

hope this helps anyone else - its similar to the last guys answer but I’m too technology illiterate to know what he meant :slight_smile:

Hey,

The error indicates that your Perforce server isn’t set to support Unicode, which UE requires. To fix this:

  1. Backup your server data.
  2. Enable Unicode: Run p4d -xi on your server to enable Unicode mode.
  3. Restart the server to apply changes.

After this, the user should be able to connect through UE. Let me know if you need more help!

still in issue? then contact - https://technocratshorizons.com/