The encoding change is currently only send by transmitting the metadata file 
(this is what I do not like). If I remember correctly the SWTP had worked on 
transmitting encoding changes (which is easily possible with the eclipse file 
API). Neverless I do not if this does offer us any advantage ... as it seems 
Eclipse is ignoring this change already (meta file is "correctly" overwritten) 
before we save the document. Maybe dig down through Eclipse source code to find 
out how the normal save operation handle it ? :P


---

** [bugs:#822] Encoding, unmappable characters: Local "Save" is not applied 
remotely**

**Status:** open
**Labels:** Eclipse Integration 
**Created:** Tue Dec 10, 2013 06:02 PM UTC by Franz Zieris
**Last Updated:** Tue Dec 10, 2013 06:32 PM UTC
**Owner:** nobody

Scenario with Alice and Bob. Alice's project and its files has the encoding 
"US-ASCII".

 * Alice starts the session with Bob.
 * Alice enters umlauts (ä, ö, ü) into version of the file. These changes will 
be propagated and applied on Bob's side.
 * Alice saves her file. Eclipse opens an error message, informing her that 
some characters cannot be mapped onto "US-ASCII", and offers her the 
possibility to save the document as "UTF-8".
 * Alice saves the document using "UTF-8". The "dirty" marker (asterisk next to 
the filename) disappears.
 * However, on Bob's side the "Save" action won't be applied, although his 
Eclipse should know by now that the file's encoding has been changed from 
"US-ASCII" to "UTF-8".

The only difference between Alice's and Bob's state is the "dirty" marker. Both 
are able to continue working. Subsequent saving operations from Alice still 
show now effect. Bob has to save the file himself, and tell his Eclipse that 
this file should now be regarded as "UTF-8" (using the same dialog that popped 
up on Alice's side before).

For further information see the attached logfiles (Alice == zieris_test01, Bob 
== zieris_test02).


---

Sent from sourceforge.net because [email protected] is subscribed 
to https://sourceforge.net/p/dpp/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/dpp/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to