• 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: completePathIntoString doesn't work with unicode paths??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >completePathIntoString doesn't work with unicode paths?? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: completePathIntoString doesn't work with unicode paths??
  • Next by Date: Re: Program structure
  • Previous by thread: Re: completePathIntoString doesn't work with unicode paths??
  • Next by thread: Re: completePathIntoString doesn't work with unicode paths??
  • Index(es):
    • Date
    • Thread