# Unable to login to Perforce source control

**URL:** <https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119>\
**Category:** Pipeline & Plugins\
**Tags:** Server, unreal-engine, Source-Control, Perforce, question\
**Created:** [May 9, 2017, 12:41pm UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119 "2017-05-09T12:41:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_16c0788a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_16c0788a](https://forums.unrealengine.com/u/anonymous_user_16c0788a)\
**Post date:** [May 9, 2017, 12:41pm UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/1 "2017-05-09T12:41:08Z")

</div>

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’.

 ![137316-unicode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/c/41c02103ddc0ac1cc00e43430bad02510bb93b57.png)

Does anyone have an idea what may be causing this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_16c0788a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_16c0788a](https://forums.unrealengine.com/u/anonymous_user_16c0788a)\
**Post date:** [May 23, 2017, 9:01am UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/2 "2017-05-23T09:01:46Z")

</div>

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.

 ![138846-5313ae8f2d1a22fd6ca8e70fae801d58.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/b/54bbc80e80ad322085bdd06edafd3b0951fe69c8.png)

I’ll mark this question as closed.

---

<div class="post-metadata">

**Author:** ![Two-faced](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Two-faced](https://forums.unrealengine.com/u/Two-faced)\
**Post date:** [August 18, 2019, 1:18pm UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/3 "2019-08-18T13:18:18Z")

</div>

Wrong answer.

---

<div class="post-metadata">

**Author:** ![Kmack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kmack/32/706181_2.png) [@Kmack](https://forums.unrealengine.com/u/Kmack)\
**Post date:** [April 14, 2022, 12:13am UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/4 "2022-04-14T00:13:41Z")

</div>

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](https://p1community.force.com/Community2/s/article/544):

---

<div class="post-metadata">

**Author:** ![B33ach](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/b33ach/32/924765_2.png) [@B33ach](https://forums.unrealengine.com/u/B33ach)\
**Post date:** [August 8, 2024, 7:08pm UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/5 "2024-08-08T19:08:52Z")

</div>

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 🙂

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/f/54f71b5ea670e41011caf72baebdc760db9cd7c3.png)

---

<div class="post-metadata">

**Author:** ![TechnocratsHori](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/technocratshori/32/963830_2.png) [@TechnocratsHori](https://forums.unrealengine.com/u/TechnocratsHori)\
**Post date:** [August 9, 2024, 9:56am UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/6 "2024-08-09T09:56:37Z")

</div>

> [@anonymous\_user\_16c0788a](#):
>
> 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’.

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/](https://technocratshorizons.com/)

---

<div class="post-metadata">

**Author:** ![Malloc\_Raycast](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Malloc\_Raycast](https://forums.unrealengine.com/u/Malloc_Raycast)\
**Post date:** [June 27, 2025, 1:28am UTC](https://forums.unrealengine.com/t/unable-to-login-to-perforce-source-control/393119/7 "2025-06-27T01:28:48Z")

</div>

Right answer.
