From: axelcl Date: Sun, 1 Apr 2007 16:38:58 +0000 (+0000) Subject: Patch 1692034 - set projects default charset to UTF-8 X-Git-Url: http://secure.phpeclipse.com?hp=be7c9eee2c2500c6ff93207067af8d5d37dd8291 Patch 1692034 - set projects default charset to UTF-8 --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java index 0601e03..176d442 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/NewProjectCreationWizard.java @@ -89,6 +89,11 @@ public class NewProjectCreationWizard extends BasicNewResourceWizard implements } JavaCore.addPHPNature(newProject, new SubProgressMonitor( monitor, remainingWorkUnits)); + + // patch #1692034 - set the coding of this PHPeclipse + // project to UTF-8 by default for all operating systems: + newProject.setDefaultCharset("UTF-8", monitor); + } catch (CoreException e) { throw new InvocationTargetException(e); } finally {