facebook

French accent characters are changed to different encoding

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

    Allen Liang
    Member

    I upgraded my MyEclipse from 6.0 to 6.5 and found problems happening to French accent characters in properties files. If I open a properties file with French accent characters, some characters will show using different encoding like “\u00E9s” instead of “à“. How can I configurate MyEclipse so it won’t change the encoding?

    Thanks a lot.

    #290710 Reply

    Loyal Water
    Member

    Can you go to Windows > Prefs > General > Content Type > Text > Java Properties File and change the default encoding to UTF-8. I guess that should do the trick.

    #290713 Reply

    Allen Liang
    Member

    No it didn’t work.
    However we figured out a different solution. We use encoding ISO-8859-1 and open .properties files using:
    right-click -> Open With -> Properties File Editor

    This way MyEclipse won’t overwrite the accent characters.

    #290731 Reply

    Loyal Water
    Member

    Glad you found a workaround.

    #301083 Reply

    Little bit more information that might help.

    What maybe happening is the that the Windows Language Bar is trapping the “alt-shift” key press and toggling your keyboard “language” (reference http://www.conversationexchange.com/resources/keyboard-language.php). Depending on configuration of your language bar it might not just be French characters.

    If you are not using alternative languages on your keyboard you can go into the settings of language bar and delete all the unused languages thus it won’t toggle. I have confirmed this works for XP on a couple systems but have not figured out how to disable it completely.

    Bill

    #301174 Reply

    Harker,
    Thank you for posting your findings.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: French accent characters are changed to different encoding

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