View Full Version : How to view special characters in text files ?

July 24th, 2008, 02:51 PM
Hi !

I was looking for a way to see all special characters in text files (like CR/LF,tabs,...). Gedit doesn't seem to have this. Geany neither...

I ended up with Notepad++ with Wine !


I guess you guyz know a better way !
Thanks !

July 24th, 2008, 03:10 PM
Geany has the option at least for Tabs/LF/CR,

Edit > Preferences > Display > Tick, Show whitespace (tabs) & Show Line endings(CR/LF)

July 24th, 2008, 03:17 PM
Thank you ! Was not able to find it myself ! :roll:

July 24th, 2008, 03:18 PM
Midnight Commander, the universal tool, has old-fashioned hex editor (where on split screen you see ASCII and hex codes of a line). And many many other useful features.

July 24th, 2008, 07:32 PM
also try scite

July 24th, 2008, 08:00 PM
There's a plugin that does that in gedit (Edit->Preferences->Plugins). You can also configure it a bit.

January 10th, 2011, 08:34 PM
There's a plugin that does that in gedit (Edit->Preferences->Plugins). You can also configure it a bit.

Which plugin?

May 25th, 2011, 02:31 PM
I agree, PJOS13. It seems to be a costume, among the geniuses of computing, to give an answer without being toooo clear. It seems that they want to say: "I know how to do it, but you have to find out yourself!" If the genius know the plug-in, he could easy just to key some additional characters and put the name of the plug-in. But these guys are too busy and are too important to do that. Well, I am interested in this too. Uuse synaptic to add gedit-plugins, Then you open gedit and look for the new plugins added to the list. Maybe ont of those it "the plugin" the genius had suggested. Cheers! << the eye that sees everything >>

May 25th, 2011, 02:38 PM
No need to fan the flames.

Even if I use Geany, I looked out and found this for gedit :

Re: how to show the non-printing symbols in the text editor?
by Curtis Hovey Oct 15, 2008; 11:23pm

Hi Ewgeni,

The Draw spaces plugin will show spaces and tabs. I don't think it will
display other characters. You can enable the plugin from the gedit menu

Choose Edit > Preferences > Plugins
Select Draw Spaces from the list
Choose the Configure button and verify that spaces, non-breaking spaces,
and tabs are selected.
Close the window.

You can toggle the display of whitespace from the gedit menu

Choose View > Show white space.


May 25th, 2011, 03:17 PM
well, VI has some options for this
:set list

it shows tab, new line characters for sure..