- This topic has 1 reply, 2 voices, and was last updated 17 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
optimadParticipantI needed to add the Euro symbol to a Javascript (.js) file but Eclipse would not let me do this, when saving I got a dialog box which said “Save could not be completed” and explained that the character was not supported by the ISO-8859-1 character encoding.
I then went to Window > Preferences and then to MyEclipse > Files & Editors > JavaScript and then in the Editing Files section I changed the encoding to UTF-16
This allowed me to save the file I had edited and at this point I thought everything was fine.
However, when I then tried to edit a different JavaScript file (which had obviously last been saved with the original character encoding) the file opened as a string of strange oriental-looking characters. When I then tried to close the file Eclipse froze and after half an hour of waiting for it to sort itself out with no success I had to terminate the application.
Also, when a colleague of mine who had not changed his file encoding got the file I had saved with the Euro symbol in from CVS he experienced the same problem of strange looking characters followed by the application crashing.
Please advise whether this is a bug and what we can do to work around it if anything.
Thanks,
James PackerInstallation summary:
*** Date:
13 March 2007 10:50:08 o’clock GMT** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_08*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.1.0 GA
Build id: 20061111-5.1.0-GAEclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060921-0945Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
230_54
-vm
C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\bin\javaw.exe
Riyad KallaMemberJames,
This sounds like something I would like to test right away. Can you send me a simple project with a JS file in it with this strange character so I can test the issue?support@genuitec.com ATTN Riyad, with a link to this thread for reference please.
-
AuthorPosts