Previous Table of Contents Index Next
Perforce 2012.1: Command Reference



P4CHARSET
Description
Character set used for translation of unicode files.
Usage Notes
Used by
Client?
Used by
Server?
Can be set in P4CONFIG file?
p4 -C charset cmd
Value if not Explicitly Set
None. If the Perforce server is operating in unicode mode and P4CHARSET is unset, Perforce client programs return an error message.
Notes
P4CHARSET only affects files of type unicode and utf16; non-unicode files are never translated.
For servers operating in the default (non-Unicode mode), P4CHARSET must be left unset (or set to none) on client machines. If P4CHARSET is set, but the server is not operating in internationalized mode, the server returns the following error message:
Unicode clients require a unicode enabled server.
For servers operating in Unicode mode, P4CHARSET must be set on client machines. If P4CHARSET is unset, but the server is operating in Unicode mode, client programs return the following error message:
Unicode server permits only unicode enabled clients.
For more about Unicode mode, including settings of P4CHARSET for various UTF-8, UTF-16, and UTF-32 character sets, with and without byte-order marks, see the Internationalization Notes:
http://www.perforce.com/perforce/doc.current/user/i18nnotes.txt
For a complete list of valid P4CHARSET values, issue the command p4 help charset.


Previous Table of Contents Index Next

Perforce 2012.1: Command Reference
Copyright 1999-2012 Perforce Software.