facebook

Encoding Bug after Checkout

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

    innova
    Participant

    I use Eclipse 3.0.2 with MyEclipse 3.8.4 and the VSS Plugin (Source Safe Team Support)
    All my jsp files are stored in UTF8 encoding and every jsp file have pageEncoding=”UTF-8″ in it.

    When I open a file in the editor everything is fine. If I type something, eclipse asks me to check out. After checkout the Umlauts are wrong. (ä -> ä).

    If i check out the file and open it AFTER this, everything is fine.

    What’s going wrong? Before I used lomboz and didn’t have this problem.

    Bye
    Matthias

    #228495 Reply

    Riyad Kalla
    Member

    Matthias,
    I have no idea what the VSS Plugin does behind the scenes that would cause the editor to get pissed off…

    What happens when you:
    1) Open the file
    2) Say “Yes” to check out
    3) Close the file
    4) Reopen it? Are the umlauts ok?

    Keep in mind I am not farmiliar with VSS at all, I don’t know if closing the file implicitly checks it in or not. I’m trying to figure out if the umlauts are genuinly screwed up, or if the editor is just displaying them wrong for some reasno and reopening the file fixes it.

    #228533 Reply

    innova
    Participant

    If I check out the file AND it is already open in the JSP Editor, the umlauts change.
    If I check out the file AND it is not open in the editor everything is ok.

    If I open the file, check it out, close it and reopen it, everything is ok.

    This behaviour is only in your editor. If I assign jsp files to the eclipse text editor it works.

    Bye
    Matthias

    #228548 Reply

    Riyad Kalla
    Member

    Matthias very odd, can you do us a favor and send us a test JSP file that has a series of the characters that are getting screwed up as well as the exact versions of:
    Eclipse (Help > About OR tell us the name of the ZIP file you used to install it)
    MyEclipse (Window > Prefs > MyEclipse)
    VSS Plugin & Link to page

    As well as a link to this thread and ATTN Riyad. Please keep in mind that we do not have a VSS repository setup, and this is the first time someone has reported this. I will ask our system admin if he can set one up but given our current work schedule this will be a low priority item until we get some more bandwidth to spare.

    In the mean time are you able to work by checking out then opening files efficiently enough?

    #228698 Reply

    Riyad Kalla
    Member

    Matthias,
    I recieved your test files and tried to simulate this problem with CVS (I do not have access to the VSS software so I cannot test with that plugin), but doing the following:

    1) Create new Web Project, dropped your “fine.jsp” file into the webroot.
    2) Checked everything into a new CVS module
    3) Opened the fine.jsp page and added a sentence to it and saved it
    4) With the file still open, I went to Replace With > Latest from HEAD and had Eclipse pull down the newest copy from CVS
    5) The editor’s contents refreshed with the new file contents and displayed all the characters correctly.

    So there is some combination between the VSS Plugin and the MyEclipse editors that is going on. I have asked if anyone on our team has access to VSS to test this.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Encoding Bug after Checkout

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