Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to set P4CHARSET in P4V Client?
    text
    copied!<p>When I attempt to run a tool in P4V to get me my latest changelist, it gives the following error:</p> <blockquote> <p>Unicode clients require a unicode enabled server.</p> </blockquote> <p>The tool is configured like so:</p> <p><img src="https://i.stack.imgur.com/TglUO.png" alt="Last Sync Tool"></p> <p>However, if I run the same command directly from the command line it works fine. I run this command:</p> <blockquote> <p>p4 changes -m1 @mhughson_ce6</p> </blockquote> <p>I have double checked my registry, and I do <strong>not</strong> have an entry for "P4CHARSET".</p> <p>From what I understand, P4V stores its own values, and does not use the registry. I am guessing, it somehow has P4CHARSET set to something in P4V, but I cannot figure out how to actually change it. When I look at the connection info in P4V there is no information on P4CHARSET.</p> <hr> <p><strong>Update 12.02.2013:</strong></p> <p>I've run some p4 commands to print out my environment variables just to be 100% certain that P4CHARSET is not being set. Here are the results.</p> <pre><code>p4 set -s P4CLIENT=mhughson_ce6 (set) P4EDITOR=C:\Program Files (x86)\Notepad++\notepad++.exe (set) P4PASSWD=[removed] P4PORT=[removed] P4USER=mhughson (set) </code></pre> <p>-</p> <pre><code>p4 set P4CLIENT=mhughson_ce6 (set) P4EDITOR=C:\Program Files (x86)\Notepad++\notepad++.exe (set) P4PASSWD=[removed] P4PORT=[removed] P4USER=mhughson (set) </code></pre> <p>-</p> <pre><code>set ALLUSERSPROFILE=C:\ProgramData AMDAPPSDKROOT=C:\Program Files (x86)\AMD APP\ APPDATA=C:\Users\[removed]\AppData\Roaming CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=[removed] ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\[removed] LOCALAPPDATA=C:\Users\[removed]\AppData\Local LOGONSERVER=\\[removed] NUMBER_OF_PROCESSORS=8 OS=Windows_NT Path=C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bi n\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Fil es (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Post- Review;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System 32\WindowsPowerShell\v1.0\;C:\Program Files\Perforce;c:\Program Files (x86)\Micr osoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools \Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86 )\QuickTime\QTSystem\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Stati c;C:\Program Files (x86)\Xoreax\IncrediBuild;C:\Program Files (x86)\Perforce;C:\ Program Files (x86)\Windows Live\Shared PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=3a09 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\[removed]\AppData\Local\Temp TMP=C:\Users\[removed]\AppData\Local\Temp USERDOMAIN=[removed] USERNAME=[removed] USERPROFILE=C:\Users\[removed] VS100COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools \ windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log </code></pre> <p>-</p> <pre><code>p4 info User name: mhughson Client name: mhughson_ce6 Client host: [removed] Client root: D:/ce6 Current directory: c:\Users\[removed] Client address: [removed] Server address: [removed] Server root: /metadata_journal Server date: 2013/02/12 18:30:48 +0100 CET Server uptime: 798:35:46 Server version: P4D/FREEBSD70X86_64/2011.1/370818 (2011/10/19) Proxy address: [removed] Proxy version: P4P/NTX64/2012.2/551823 (2012/11/09) Server license: [removed] Server license-ip: [removed] Case Handling: sensitive </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload