facebook

Encoding problem for XML files

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #243043 Reply

    SteffN
    Member

    Hello,

    I’ve a big problem using the MyEclipse XML Editor: When I save a XML file which contains german umlauts the umlauts will be replaced by special characters like ä.

    This problem only occures only if a file association with an other file as *.xml exists. I can reproduce the error as follows:

    1.) Open Window->Preferences->Editors->File Associations
    2.) Add the file type *.jxt
    3.) Associate the editor MyEclipse XML Editor
    4.) Create a new file foo.jxt
    5.) Add <test>ö</test>
    6.) Save the file
    7.) Reopen the file. The file now contains: <test>ö</test>
    8.) Open the file foo.jxt with another editor like Windows Editor -> The file contains the special characters, too.

    My Environment:

    Eclipse SDK
    Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse Enterprise Worbench 4.0.3

    Do you know a workaround for this?

    Thank you a lot.

    Regards
    Stephan

    #243049

    Brian Fernandes
    Moderator

    Stephan,

    Asociate the jxt extension with the XML content type instead (you might need to remove the File Association before this)
    Window > Preferences > General > Content Types > Text > XML > MyEclipse XML Content type – Press Add and add the jxt extension.

    Hope that works out for you,
    Best,
    Brian.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Encoding problem for XML files

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