• 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: File name encoding problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File name encoding problem


  • Subject: Re: File name encoding problem
  • From: j o a r <email@hidden>
  • Date: Mon, 19 Sep 2005 17:33:48 +0200


On 19 sep 2005, at 16.35, James Bucanek wrote:

I think your problem might be the gcc compiler. You can't put non- ASCII characters in C source files. For all kinds of arcane reasons, the compiler can't know the encoding of file when it is compiling. So gcc has always required that C source code, which includes Obj-C and C++, be restricted to 7-bit ASCII characters. I also know that gcc does not like some non-ASCII characters in NSString literals either.

You might try writing the strings using hexadecimal or Unicode escape sequences.

Agreed. This is also a FAQ, and my favourite authoritative reply is:

<http://www.cocoabuilder.com/archive/message/cocoa/2005/3/30/131791>

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Re: File name encoding problem (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: File name encoding problem
  • Next by Date: Screensaver mouseMove override
  • Previous by thread: Re: File name encoding problem
  • Next by thread: Screensaver mouseMove override
  • Index(es):
    • Date
    • Thread