Re: completePathIntoString doesn't work with unicode paths??
Re: completePathIntoString doesn't work with unicode paths??
- Subject: Re: completePathIntoString doesn't work with unicode paths??
- From: Satoshi Matsumoto <email@hidden>
- Date: Fri, 03 Jun 2005 11:03:42 +0900
on 05.6.3 10:28 AM, Jonathan del Strother at email@hidden wrote:
> I'm struggling with NSString & some Unicode pathnames. My worst-case
> scenario test file is something called "Artist-SigurRós,Album-()和
> 紙.tiff"
I don't know what happened in your program.
But...
As the string "Artist-SigurRós,Album-()和紙.tiff" contains non ASCII
characters, such as ó, 和, 紙, you can't specify these characters directly
in @"string" of your source code.
If you wish to specify these non ASCII characters in your source code, I
recommend you to use NSLocalizedString.
NSString *foo = NSLocalizedString( @"Artist-Sigur", @"some comment" );
And then define the actual Unicode characters in the file
"Localizable.strings" as below.
Artist-Sigur" = "Artist-SigurRós,Album-()和紙.tiff";
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden