Menu

#232 Code improvement: Handling of file encoding

open
None
5
2007-05-16
2007-05-16
No

I just took a deeper look into the pydev source code. I came across the way the PyEdit class handles the file encoding and that it tries to read it from the Python itself.
I thought that this is similar to how this is handled for XML files because the encoding is also specified in the file itself.
I found out that there is a standard "Eclipse way" of dealing with this and it is based on content describers (IContentDescriber). Maybe this might be a good improvement for PyEdit/pydev.

More info can be found here:
http://www.eclipse.org/eclipse/platform-core/documents/content_types.html

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2007-05-16
    • labels: 595097 -->
    • milestone: 705850 -->
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-05-16

    Logged In: YES
    user_id=617340
    Originator: NO

    Changing to feature request

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.