From 104d27044d267f7bf75f9e6c7dd77a89bcccc5cb Mon Sep 17 00:00:00 2001 From: axelcl Date: Sun, 1 Apr 2007 16:38:58 +0000 Subject: [PATCH 1/1] Patch 1692034 - set projects default charset to UTF-8 --- .../wizards/NewProjectCreationWizard.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) 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 { -- 1.7.1