facebook

XML Editor and Character Encoding [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #203330 Reply

    goul
    Participant

    System 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.

    ——————————-

    #203332 Reply

    Riyad Kalla
    Member

    Paul,
    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?

    #203352 Reply

    Scott Anderson
    Participant

    Paul,

    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.

    #203363 Reply

    goul
    Participant

    Thanks Scott, I’ll let you know when its been released.

    Cheers,
    Paul.

    #203912 Reply

    Marcus Beyer
    Member

    I 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.

    #203916 Reply

    Scott Anderson
    Participant

    Marcus,

    You’re problem will be fixed in the 2.7/3.7 GA release also.

    #203932 Reply

    Marcus Beyer
    Member

    @scott wrote:

    Marcus, You’re problem

    Hey, I hope this is a Typo 😥

    Marcus

    #203934 Reply

    Riyad Kalla
    Member

    haha, I’m pretty sure he didn’t mean you ARE the problem :), cause we can’t fix that by the 2.7 GA release!

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: XML Editor and Character Encoding [Closed]

You must be logged in to post in the forum log in