• 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: Translating filenames for command line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translating filenames for command line?


  • Subject: Re: Translating filenames for command line?
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Wed, 2 Jan 2002 22:56:24 +0100

Le mercredi 2 janvier 2002, ` 08:48 , Rainer Brockerhoff a icrit :

At 20:41 +0100 02/01/2002, Thomas Lachand-Robert wrote:
Le mardi 1 janvier 2002, ` 07:42 , Rainer Brockerhoff a icrit :
As a side question - but probably related to this - how are we supposed to type an ellipsis (or any non-7-bit-ASCII character) into a @"" string?

I've been trying to put the ellipsis into menu items, with calls like [aMenuItem setTitle:@"Print..."], but I always get garbage in the menu instead of the ellipsis.

I have been surprised by your problem and all the answers, because typing an ellipsis directly in code works perfectly for me. Two or three days ago I did that:
return [NSString stringWithFormat:@"%@
", someString];
(the only character after %@ is an explicit ellipsis, case it would be garbaged by email, so I'm just appending the ellipsis to the string).

Look at your source files (in PB's Info), they're probably set to MacOSRoman (which works but shouldn't). Mine were set to UTF-8 (which should work and didn't) :-)

Hmm. It says "no explicit file encoding", and the file has been created from scratch in PB. So, maybe you can try to cut and paste into a new file?

Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.


  • Prev by Date: Re: AppleScript Studio: More Observations
  • Next by Date: Re: NSTask, NSPipe's and interactive UNIX command
  • Previous by thread: Re: Translating filenames for command line?
  • Next by thread: Re: Translating filenames for command line?
  • Index(es):
    • Date
    • Thread