notepad-plus-plus / notepad-plus-plus

Notepad++ official repository
https://notepad-plus-plus.org/
Other
22.54k stars 4.56k forks source link

invizible characters #14739

Open nagualul opened 6 months ago

nagualul commented 6 months ago

Hello. I have a file in which the first 3 characters are invisible when I open it with notepad++ even though I have checked to display all existing characters. I don't know if it's a bug. Maybe you will look at the file... test.csv test

rdipardo commented 6 months ago

It's called a byte order mark:

> python -c "print(''.join([chr(b) for b in [0xEF, 0xBB, 0xBF]]))"


Does the status bar look something like this?

utf-8-bom

If the file was generated by software, it's best to just leave the encoding alone; you may end up invalidating the data.

nagualul commented 6 months ago

True. Many tks.

nagualul commented 6 months ago

But, maybe it would be good to be able to see the presence of those characters somehow... Somewhere in the "ShowSymbol" menu to add a tick for this type of characters.

ioc2e3 commented 6 months ago

能夠以某種方式看到這些字元的存在會很好

agree ...

It would be better to be able to see the existence of these ...

.