Re: Translating filenames for command line?
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.