eclipse-encoding-plugin icon indicating copy to clipboard operation
eclipse-encoding-plugin copied to clipboard

UTF-8 encoding don't show BOM

Open itinside opened this issue 9 years ago • 4 comments

If you have different UTF-8 encoding files with and without BOM the plugin open it correctly but it would not show in the status bar (is it a file with or without BOM) and you can´t add or remove this.

itinside avatar Dec 10 '16 12:12 itinside

What is it extension of the file? Add it extension (ex: *.csv) to the "Text" in the content type preferences. If it is not in the preferences.

Preferences > General > Content Types > Text > File associations > add

cypher256 avatar Dec 10 '16 15:12 cypher256

I use *.txt files and the following files would not correctly identified. I have checked with an without Autodetected Set: Automaticly. Only the second one is correct, but if I remove the BOM I can't add it again.

test_UTF-8_BOM_DOS.txt test_UTF-8_BOM_UNIX.txt test_UTF-8_noBOM_DOS.txt test_UTF-8_noBOM_UNIX.txt

itinside avatar Dec 12 '16 23:12 itinside

Thanks for the example file. When the number of characters is small, the juniversalchardet can not detect the encoding.

cypher256 avatar Dec 13 '16 00:12 cypher256

The detection of BOM depends on the Eclipse feature. Open the File Properties and check it. In the future, this plugin may detect BOM.

cypher256 avatar Dec 13 '16 00:12 cypher256

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jun 21 '23 15:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 05 '23 15:07 github-actions[bot]