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: UTF-16 no BOM and Eclipse



Look like it has to be UTF-16LE (UTF-16 Little Endian).

Look like Eclipse always add the BOM to UTF-16 files? I switched a Localizable.strings from UTF-8 to UTF-16 in BBEdit, and I specified no BOM (UTF-16, No BOM). Now, WOResourceManager.stringForKey() finds the value for the key and everything is good. BUT when Eclipse told me that the file was changed on the filesystem (because of my editing in BBEdit) and I said "Refresh", Eclipse add a BOM to the file and WOResourceManager cannot find the string...

Anyone with a workaround to tell Eclipse to NOT add the BOM for UTF-16 file? This is Eclipse 3.3 (yes, I know)/WO 5.3.3.

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

This email sent to email@hidden
References: 
 >UTF-16 no BOM and Eclipse (From: Pascal Robert <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.