Perforce 2005.1 Command Reference
<< Previous Chapter
Environment and Registry Variables
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4CLIENT

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.

Examples

eucjp

iso8859-1

iso8859-15

macosroman

shiftjis

utf8

winansi

Notes

P4CHARSET only affects files of type unicode; non-unicode files are never translated.

For servers operating in the default (non-Unicode mode), P4CHARSET must be left unset. 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. If P4CHARSET is unset, but the server is operating in Unicode mode, client programs return the following error message:

For more about Unicode mode, see the Release Notes.


Perforce 2005.1 Command Reference
<< Previous Chapter
Environment and Registry Variables
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4CLIENT
Please send comments and questions about this manual to [email protected].
Copyright 1999-2005 Perforce Software. All rights reserved.
Last updated: 05/12/05