Perforce 2004.2 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

iso8859-1

iso8859-15

eucjp

shiftjis

winansi

macosroman

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 2004.2 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-2004 Perforce Software. All rights reserved.
Last updated: 08/19/04