Perforce 2008.1 Command Reference
<< Previous Chapter
P4AUDIT
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4COMMANDCHARSET

P4CHARSET

Description

Character set used for translation of unicode files.

Usage Notes

Used by
Client?

Used by
Server?

Command-Line Alternative
Can be set in P4CONFIG file?

Yes

No

p4 -C charset cmd

Yes

Value if not Explicitly Set

Operating System
Value

All

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 on client machines. If P4CHARSET is set, but the server is not operating in internationalized mode, the server returns the following error message:

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:

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:


Perforce 2008.1 Command Reference
<< Previous Chapter
P4AUDIT
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4COMMANDCHARSET
Please send comments and questions about this manual to [email protected].
Copyright 1999-2008 Perforce Software. All rights reserved.
Last updated: 07/08/08