• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fix for Xcode integration with Perforce configured in Unicode mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix for Xcode integration with Perforce configured in Unicode mode


  • Subject: Fix for Xcode integration with Perforce configured in Unicode mode
  • From: Blake Ramsdell <email@hidden>
  • Date: Sun, 30 Oct 2005 22:45:55 -0800

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.


ENHANCEMENT REQUEST

Please add support for P4CHARSET in Xcode for Perforce SCM integration.


COMPLAINT

Xcode sure doesn't whine very much when Perforce is really really broken in this way. It will complain if you can't connect to the server, but other than that -- total silence.


If anyone has any other workarounds or suggestions, they're certainly welcome. But I think that P4CHARSET support will be required ASAP in Xcode to be usefully compatible with Perforce. Or at the very least a technote or FAQ entry.


Apologies if this issue is review. I did take some time to STFW and did not come up with an answer.

Blake
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Fix for Xcode integration with Perforce configured in Unicode mode
      • From: Chris Ridd <email@hidden>
    • Re: Fix for Xcode integration with Perforce configured in Unicode mode
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: My first Finished Xcode project
  • Next by Date: Re: Fix for Xcode integration with Perforce configured in Unicode mode
  • Previous by thread: My first Finished Xcode project
  • Next by thread: Re: Fix for Xcode integration with Perforce configured in Unicode mode
  • Index(es):
    • Date
    • Thread