Autodetect Encoding

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Photon (4.8), 2018-09 (4.9), 2018-12 (4.10), 2019-03 (4.11), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

https://cypher256.github.io/eclipse-encoding-plugin/

Learn more...
Solution Description

[Github Sponsor]

Show file information for the active editor in the status bar.
 

Features

Show file encoding and line ending
Line ending (separator) support showing CRLF, CR, LF and Mixed, can also be converted.

 

Change "Text File Encoding" setting by file property 
To add the encoding, use Preference > General > Workspace > Text File Encoding > Other.

 

  • Autodetect: Automatic detection by juniversalchardet and ICU4J
  • Inheritance: Inherited from folder or project properties, workspace preferences
  • Content Type: Determined from content type setting 

'Autodetect: Set Automatically' 
This only applies if the file properties encoding is not specified.
An automatically set is not enabled by default.

Add/Remove BOM is disable on Windows.
 

Changes

1.8.4 - 2017.08.05

  • Add ICU4J support (juniversalchardet switchable)
  • Disable BOM operations on Windows

1.8.0 - 2016.08.13

  • Add folder properties hierarchy menu
  • Add 'Oepn Setting File in Project' action
  • Fix not shown encoding when editor all closed
  • Improve handle resource in jar
  • Improve charset label in menu
  • Rename plugin name 'Encoding StatusBar' to 'Autodetct Encoding'

1.7.0 - 2016.07.28

  • Add 'Add/Remove BOM' action
  • Add file creation preferences shortcut
  • Improve autodetect
  • Improve determined from content

1.6.0 - 2016.07.18

  • Add autodetect behavior option
  • Add set automatically or show warning by autodetect
  • Add pom editor Effective pom tab support

1.5.0 - 2016.07.03

  • Add multi page editor support
  • Add class editor support
  • Add encoding label to menu
  • Add package root properties menu

 

Original source: File Encoding Info

Categories: Editor, IDE, Languages, Tools, UI

Additional Details

Eclipse Versions: Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Photon (4.8), 2018-09 (4.9), 2018-12 (4.10), 2019-03 (4.11), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Shinji Kashihara

Development Status: Production/Stable

Date Created: Saturday, June 11, 2016 - 21:10

License: EPL

Date Updated: Thursday, February 8, 2024 - 03:39

Submitted by: Shinji Kashihara

Date Ranking Installs Clickthroughs
March 2024 175/651 93 4
February 2024 180/687 134 12
January 2024 215/691 97 14
December 2023 174/671 145 16
November 2023 202/686 125 14
October 2023 183/673 160 17
September 2023 174/663 160 12
August 2023 201/673 100 15
July 2023 185/668 136 11
June 2023 176/669 163 12
May 2023 178/671 161 14
April 2023 191/667 132 13
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Autodetect Encoding.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

It's probably because of juniversalchardet, but this plugin doen't correctly distinguish between utf-8 and latin-1. File Encoding Info, which uses ICU, works more relyably for me.