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: dnd of filenames with locale specific characters



Thanks Greg, of course Bob would want to getName() (or some variant thereof) the File objects before getBytes/creating UTF-8 strings.

Do you concur regarding the use of UTF-8?

Greg Guerin <email@hidden> wrote:
Ed Goulet wrote:

byte[] theBytes = fArray[i].getBytes();

The fArray of the original posting is an array of File objects, as I infer
from this line:
if (fArray[i].exists()) {


because File has an exists() method, but String does not.

-- 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
References: 
 >Re: dnd of filenames with locale specific characters (From: Greg Guerin <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.