Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for Xcode integration with Perforce configured in Unicode mode



On 31/10/05 6:45, Blake Ramsdell <email@hidden> wrote:

> PROBLEM
> 
> Xcode doesn't work with a Perforce server configured in Unicode mode,
> due to the fact that the P4CHARSET environment variable or the -C
> option to the "p4" command must be specified.
> 
> 
> MY SOLUTION
> 
> Write a wrapper script for the p4 command that specifies the -C option:
> 
> #!/bin/bash
> /usr/local/bin/p4 -C utf8 $@
> 
> and then use that in the SCM configuration in Xcode.

Why don't you just set P4CHARSET in ~/.MacOSX/environment.plist?

<http://developer.apple.com/qa/qa2001/qa1067.html>

Cheers,

Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Fix for Xcode integration with Perforce configured in Unicode mode (From: Blake Ramsdell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.