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: file to uri to file madness



Jerry wrote:

>Well that's weird. When I converted the code from Java to C I forgot
>that filenames should be in UTF-8 for fopen. The UTF-8 code exhibits
>the same behaviour, but it's interesting that the original code
>worked at all.

It's probably a feature.  Most likely, the C compiler recognized the \u
form in your source file and turned it into UTF-8.  To find out, use the
original string forms and dump their bytes as hex.

And thanks for confirming that the problem occurs with fopen() and filing
the bug.  All the evidence points to an Apple library problem, not a
Java-specific problem.  10.4.8, where are you?

  -- GG


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

This email sent to 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.