Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in FSPathMakeRef(); ??



On Sep 13, 2005, at 8:00 AM, darpan kamboj wrote:
It works fine when the cCompletePath="/unique/created folders"
It works fine when the path is in english characters. I have two hard disks
attached with my system one of which is spanish. When the cCompletePath="/
unique/created folders/åpplæ" then FSPathMakeRef() fails.
There is no standard encoding for C source files beyond 7-bit ASCII. Therefore you can only safely use 7-bit ASCII characters in character constants and constant strings (strings delimited by "quotation marks"). I suspect that FSPathMakeRef is failing because you are not giving a canonically decomposed UTF-8 path, but a path in MacRoman or some other such 8-bit non-Unicode encoding.

  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem in FSPathMakeRef(); ?? (From: "darpan kamboj" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.