Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Get Eclipse to automatically convert smart characters
Get Eclipse to automatically convert smart characters [message #894583] Mon, 09 July 2012 17:31 Go to next message
Dave H is currently offline Dave HFriend
Messages: 43
Registered: January 2010
Member
Can I get Eclipse to automatically convert smart quotes, dashes, and ellipses to their UTF-8 equivalent? It seems to want to save the smart characters and they show up as gobbledygook on various servers.
Re: Get Eclipse to automatically convert smart characters [message #964465 is a reply to message #894583] Tue, 30 October 2012 14:39 Go to previous message
Thomas   is currently offline Thomas Friend
Messages: 12
Registered: October 2012
Junior Member
As far as I know, in order to make sure all new files are UTF-8, you should right-click on your project, select Properties -> Resource then under Text file encoding select "Other" and choose UTF-8. However according to http://www.eclipse.org/forums/index.php?t=msg&th=29511 there may be some problems in that.

In order to convert all of your current files to UTF-8, I would suggest using one of the methods described in the Super User question "Batch-convert files for encoding". (I would post the link to it, however I have fewer than 5 posts).

Note that if you don't already, you should have all of your files under source control just in case the conversion process goes wrong.
Previous Topic:What i miss
Next Topic:How to use the PHP debugger under XAMPP
Goto Forum:
  


Current Time: Sat Apr 27 01:09:42 GMT 2024

Powered by FUDForum. Page generated in 0.02589 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top