Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Set P4VFS's P4CHARSET #32

Open
gaojun-lin opened this issue Oct 13, 2023 · 1 comment
Open

How to Set P4VFS's P4CHARSET #32

gaojun-lin opened this issue Oct 13, 2023 · 1 comment

Comments

@gaojun-lin
Copy link

How to Set P4VFS's P4CHARSET

@437569
Copy link

437569 commented Mar 11, 2024

Hi, to achieve that you can make use of P4CONFIG:

  1. p4 set P4CONFIG=p4config.txt in your global environment.
  2. Then for instance if you have a workspace which root is D:\MyP4, you can create a D:\MyP4\p4config.txt text document, inside put a line P4CHARSET=utf8 (or whichever charset you would like to use).
  3. Next time when you are running P4VFS from your workspace directory (D:\MyP4 in the above example), P4VFS will pickup P4 environment variables you set in your p4config.txt.

FYI, you may also define other P4 environment variables such as P4PORT P4USER P4CLIENT in that p4config.txt.

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants