- This topic has 7 replies, 4 voices, and was last updated 20 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
goulParticipantSystem Setup
Operating System and version: WIndowx XP
Eclipse version: 3.0M6
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins: JFaceDB CHeckstyle
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
MyEclipse version: 3.7RC2
Eclipse JDK version: jdk 1.4.2_02
Application Server JDK version: n/a
Are there any exceptions in the Eclipse log file?– Message Body ——————————-
Hi,I have a utf-8 encoded XSL stylesheet which contains some utf-8 characters in it. When I edit the file in the xml-editor the characters become corrupted. However if I restore the file from cvs and then force the use of the text-editor then they are not.
i.e. The text-editor honours the workbench settings for encoding to utf-8 but the xml editor appear not to.
Am I missing a setting for the encoding for the xml editor?
Cheers,
Paul.——————————-
Riyad KallaMemberPaul,
No you aren’t missing any configuration option and this is very strange that it is corrupting your chars. Can you email either your xml file or a sample XML file with the characters in question to support@genuitec.com so we have a test case to check against?
Scott AndersonParticipantPaul,
Thanks for sending your XSL file to support. I tested it with the current version of the XML editor, which will be part of the 2.7/3.7 GA release and it worked perfectly. Of course, between the RC2 version and the one I tested there were two bugs related to handling file encodings that have now been fixed. Looks like the “fix is in” and you’ll be good to go with the next release. Thanks for taking the time to report this so we can improve the product.
goulParticipantThanks Scott, I’ll let you know when its been released.
Cheers,
Paul.
Marcus BeyerMemberI have a similar problem with the XML Editor: Both workbench encoding and -Dfile.encoding are UTF8. Saving an XML file that has no encoding specified in the first line, results in ISO-8859-1. But sometimes it’s not allowed to provide such a line, e.g. in jboss-container.xml, because it gets merged into another xml-file (here: jboss.xml).
Hope to see the new version soon 🙂
Cheers,
Marcus.
Scott AndersonParticipantMarcus,
You’re problem will be fixed in the 2.7/3.7 GA release also.
Marcus BeyerMember
Riyad KallaMemberhaha, I’m pretty sure he didn’t mean you ARE the problem :), cause we can’t fix that by the 2.7 GA release!
-
AuthorPosts