Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3830976 By: jec-ca
Hi, I installed the newest version of Eclipse (3.2.0) and Pydev (1.2.1) earlier this week, to work on an existing project (currently stored in CVS, in case this matters). Here's my problem: whenever I edit the file in Eclipse (using the Pydev editor), the tool is automatically updating the file-level preferences encoding property to explicitly be UTF-8. Here's why I think it's happening: Our CVS server uses Latin-1 encoding, so I need to edit python source files so that they're saved in Latin-1 format. I've set the Project-level preferences is set to ISO-8859-1. BUT... the automated test harness requires that they be executed using UTF-8 encoding, so the file contains the "coding: UTF-8" directive at the top of the file. If I edit while the file's properties are set to UTF-8, the synch viewer is showing character deltas between the repository version and my local version. If I force the format of the file explicitly to ISO-8859-1, the deltas go away, but it seems to bother the interpreter and my test cases fail. Ideally, I'd like to edit in one mode, and run in another. Is this possible? If not... what (do you think) would happen if I submitted the file to the Latin-1 repository from the UTF-8 encoding client? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users