Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » project encoding properties(project encoding properties definitive setting)
project encoding properties [message #557288] Mon, 06 September 2010 13:18 Go to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
Hi

I encounter a problem with project settings with Eclipse 3.5.2 and PHP Development Tools (PDT) SDK Feature 2.1.1.v20090707-1108-51584QACJCRCUeNRkNYbOJecWK9O :

I have old projects iso-8859-1 encoded. When I set the project's properties to that it works for the current session. But each time I close and re-open the project encoding is setted back to default encoding UTF-8.

Thanks a lot for your help.
Re: project encoding properties [message #658608 is a reply to message #557288] Wed, 09 March 2011 09:09 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
I can't believe such a problem still exists one year later and have no answer.
Each time I open a project I have to reset again and again resource text encoding to iso-8859-1. Sometimes I forget and get bad transcoded characters in all files I edited.
I missed something or Eclipse developpers are great jokers.
Re: project encoding properties [message #658628 is a reply to message #658608] Wed, 09 March 2011 10:31 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Related bug report:
Bug 334362 Properties dialog: properties for closed project are sometimes wrong
https://bugs.eclipse.org/bugs/show_bug.cgi?id=334362

I couldn't find proper report though.
The bug of *platform* still exist on 3.6.2 unfortunately, but it doesn't occur on 3.7.0M5.
Re: project encoding properties [message #659132 is a reply to message #658628] Fri, 11 March 2011 08:12 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
I thought the patch was here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=202384

But it seems so complicated to apply a patch...
Re: project encoding properties [message #659311 is a reply to message #659132] Sat, 12 March 2011 03:53 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Thanks for the information Very Happy
Amazing it had been there since 2007...
I confirmed the patch works on 3.6.2 well. (as for this issue)
It's not so complicated but needs some small editing. ...it's hard to explain it...

Easier done than said.
http://sourceforge.jp/projects/pdt-tools/releases/51247

[Updated on: Sun, 13 March 2011 00:38]

Report message to a moderator

Re: project encoding properties [message #659385 is a reply to message #557288] Sun, 13 March 2011 11:25 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
Thanks a lot Toshiro for your reply. I see 2 files at your link:
org.eclipse.core.resources.source_3.6.1.R36x_v20110131-1630. jar 673.8 KB
org.eclipse.core.resources_3.6.1.R36x_v20110131-1630.jar 753.9 KB

Should I just replace theese files on my eclipse 3.5 install or do I need to upgrade to 3.6 ?
Re: project encoding properties [message #659442 is a reply to message #659385] Mon, 14 March 2011 01:00 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
They are for 3.6.2 only.
Which version are you using?
3.5.2 have
org.eclipse.core.resources.source_3.5.2.R35x_v20091203-1235. jar
org.eclipse.core.resources_3.5.2.R35x_v20091203-1235.jar
Could you tell me real file names?
Re: project encoding properties [message #659596 is a reply to message #659442] Mon, 14 March 2011 18:10 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
I upgraded to 3.6
I see org.eclipse.core.resources_3.6.1.R36x_v20110131-1630 but no any org.eclipse.core.resources.source file.
Re: project encoding properties [message #659652 is a reply to message #659596] Tue, 15 March 2011 01:26 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
No need to mind it. org.eclipse.core.resources.source is a Java source code bundle. It is included in Eclipse SDK for developing eclipse plugins. Eclipse for PHP Developers(eclipse-php-helios) doesn't have it since it is unnecessary for pdt.
Re: project encoding properties [message #659723 is a reply to message #659652] Tue, 15 March 2011 11:02 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
Well. I have the org.eclipse.core.resources_3.6.1.R36x_v20110131-1630 in my plugins now but text encoding still resets to utf-8 when I close project and restart Eclipse. Rolling Eyes
Re: project encoding properties [message #659904 is a reply to message #659723] Wed, 16 March 2011 01:21 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
Hmm, I cannot reproduce your problem.
You can examine 3.7M5
http://www.eclipse.org/downloads/index-developer.php
or 3.7M6 minimum Platform Runtime
http://download.eclipse.org/eclipse/downloads/drops/S-3.7M6- 201103101119/index.php#PlatformRuntime
Re: project encoding properties [message #660026 is a reply to message #557288] Wed, 16 March 2011 15:10 Go to previous message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
Yes! It works with 3.7M5 ! My old projects in iso-8859-1 stay well encoded after closing and re-opening them. (Properties still display utf-8 when the projects are closed but it's not a problem)
Thanks and re-thanks to Toshihiro Smile
Previous Topic:[RESOLVED] javascript died in PDT browser
Next Topic:Debugger - Arrow indicates the position
Goto Forum:
  


Current Time: Thu Apr 25 07:12:45 GMT 2024

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

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

Back to the top