On Mon, Jul 13, 2020 at 06:24:58PM +0000, Ajith R wrote: > I was trying to find if NBSP are getting added in my .XCompose file > > I am using Kate. How can I accomplish that in Kate?
I googled <show non-breaking spaces in kate editor>. The first result didn't talk about them at all. The second result was to a PDF which is apparently their official documentation. <https://docs.kde.org/trunk5/en/applications/katepart/katepart.pdf>. In it, there is a brief mention of some option you can toggle called "Show Non-Printable Spaces", whose description is "Show/hide bounding box around non-printable spaces." I have no idea what they consider to be a "non-printable space". You could try it. > > (I don't even know whether you're in a UTF-8 encoding, though, so > > who knows whether those are even the correct bytes for an NBSP in> > > your locale. You're better off using \u00A0 instead.) > > No, I don't want to use them. Just wanted to know if they were creeping into > my file. I meant use in your bash + grep command. The earlier attempts to use $'\x00A0' or $'\x00\xA0' were not correct.