• 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
Re: Subversion + Xcode + é == Headache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subversion + Xcode + é == Headache


  • Subject: Re: Subversion + Xcode + é == Headache
  • From: Tom Naughton <email@hidden>
  • Date: Sun, 16 Oct 2005 01:46:47 -0700

You should be able to work around this by adding:

        <key>LC_CTYPE</key>
        <string>de_DE.UTF-8</string>

To ~/.MacOSX/environment.plist. Then everything works as expected in Xcode:

cd /tmp/JapaneseProject/
/usr/local/bin/svn status --show-updates
? ひらがな.cpp
? 日本語プロジェクト.xcodeproj/ tom.pbxuser
? 日本語プロジェクト.xcodeproj/ tom.perspective
M 1 日本語プロジェクト.xcodeproj/ project.pbxproj
? ひらがな.h
Status against revision: 1



cd /tmp/JapaneseProject/ /usr/local/bin/svn add ひらがな.cpp ひらがな.h A ひらがな.cpp A ひらがな.h


Tom



On oct 14, 2005, at 12:46 AM, email@hidden wrote:

Hi everyone,

I've got a project all set up with subversion, and was wondering why things
weren't being updated at all, and looked at the logs, this is what I found:


/opt/local/bin/svn commit --message "First XCode Import" untitled
svn: Commit failed (details follow):
svn: Commit failed (details follow):
svn: Unable to open an ra_local session to URL
svn: Commit failed (details follow):
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///Volumes/Repository/Andr% 81/trunk/Andŕ'


Where the junk characters ́ should be accented é .
I am able to checkout and update through the command line, but this works
90% of the time, other times the é gets all garbled...


I'm guessing Xcode is using NSTask to talk to subversion? So characters that
are unicode are getting scrambled?


In my .profile I've got alias svn='env LC_CTYPE=de_DE.UTF-8 /opt/ local/bin/svn' set so
commands to svn with unicode characters esp. Japanese, are sent correctly, but
in Xcode or other soft (svnX) those characters are garbled...


Is there a workaround or should I file a bug report?

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


This email sent to email@hidden

_______________________________________________ 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: Subversion + Xcode + é == Headache
      • From: email@hidden
References: 
 >Subversion + Xcode + é == Headache (From: email@hidden)

  • Prev by Date: Re: Speeding up XCode?
  • Next by Date: Re: Speeding up XCode?
  • Previous by thread: Subversion + Xcode + é == Headache
  • Next by thread: Re: Subversion + Xcode + é == Headache
  • Index(es):
    • Date
    • Thread