Bug 85686 - Autodetect Source File Codepage
Summary: Autodetect Source File Codepage
Status: RESOLVED DUPLICATE of bug 55355
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 12:33 UTC by Alexander Darovsky
Modified: 2005-03-24 12:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Darovsky 2004-07-22 12:33:08 UTC
Version:           3.0.2 (using KDE KDE 3.2.3)
Installed from:    Gentoo Packages

There is a de-facto standard way to set up an
encoding in the file, for example:

// coding: utf-8

where '//' is a line comment character(s), in Python it is 

# coding: utf-8.

It should be in the first two lines of a file.

Some editors (I know emacs and Eric3 Python IDE) use this feature.
It would be nice to make KDevelop (or KWritePart) to make use of this feature too.

Regards, Alex Darovsky
Comment 1 Christoph Cullmann 2005-03-24 12:20:39 UTC

*** This bug has been marked as a duplicate of 55355 ***