<div dir="ltr"><div dir="ltr"><br><div>Thanks, Bruno.</div><div><br></div><div>Yes, I know BBEdit, and in fact I was suggesting showing <b><font color="#ff0000">¿</font></b> as it does.</div><div><br></div><div>I use BBEdit for tasks like RE search and replacing, but I thought it would be useful to stay within TeXShop for a simpler thing like this.</div><div><br></div><div>So you are right, it is not a pressing demand.</div><div><br></div><div>Best,</div><div><br></div><div>Guillermo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 26 Feb 2023 at 11:55, Bruno Voisin <<a href="mailto:bvoisin@icloud.com">bvoisin@icloud.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> On 25 Feb 2023, at 23:17, G. M.-S. <<a href="mailto:lists.gms@gmail.com" target="_blank">lists.gms@gmail.com</a>> wrote:<br>
><br>
> I have a feature request:  Sometimes I manage to enter an invisible "bad " char (ASCII 0–31 or 127).  Would it be possible to show them?  They could appear as ¿ for example.  Currently only newlines and tabs can be shown explicitly (and they are not "bad" in general).<br>
> <br>
> I am aware that with Unicode the possibilities would be endless, that is why I am only asking about ASCII non printing chars.<br>
<br>
Hi Guillermo,<br>
<br>
This does not really answer your request, but in case you're looking for an immediate solution to your problem, what I generally use involves a separate text editor called BBedit.<br>
<br>
Indeed, at times when pasting text copied from a web browser (for example to add a reference in a BibTeX file), non-printing characters are included which mess up the TeX output.<br>
<br>
BBEdit has a convenient "Zap Gremlins" functionality, which may be used to delete non-printing characters or replace them with a given character (like say •) thus showing where they are.<br>
<br>
I imagine other dedicated text editors (Emacs, Vim, Alpha, Smultron, Sublime Text, TextMate, VS Code, ...) have similar functionality. I'm just mentioning BBEdit because I've been using it since the Mac was at System 7!<br>
<br>
Bruno<br></blockquote><div> </div></div></div>