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)


Learn more...

Details Group Tabs

Details

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:
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)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Date Created: 
Sat, 2016-06-11 21:10
Development Status: 
Production/Stable
License: 
EPL
Date Updated: 
Tue, 2018-11-27 10:23
Metrics
DateRankingInstallsClickthroughs
December 2018259/916114 (0.03%)20
November 2018269/939197 (0.03%)38
October 2018250/943251 (0.04%)50
September 2018255/941212 (0.04%)37
August 2018261/939201 (0.04%)28
July 2018249/940230 (0.04%)35
June 2018262/947201 (0.04%)28
May 2018268/954201 (0.04%)28
April 2018265/946211 (0.04%)29
March 2018285/961172 (0.03%)32
February 2018291/940148 (0.03%)22
January 2018310/945136 (0.03%)24
View Data for all Listings
Errors
External Install Button

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
Tuesday, December 18, 2018 - 23:22
skashihara's picture

Please vote for the Eclipse bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471313
I fixed this problem by Comment 12 workaround, but a problem also occurred in Comment 18.

> [github: Issue#10] Labels are cut off in Windows when at 200% scale on HiDPI.
> https://github.com/cypher256/eclipse-encoding-plugin/issues/10

micathom's picture

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.

skashihara's picture

1.8.4 - 2017.08.05
Add ICU4J support (juniversalchardet switchable)

joyoungbae's picture

I escaped from 'determine by contents' hell. thanks!