View Single Post
Old 02-16-2014, 01:28 PM   #3
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Dont ever type combining symbols like letters and their accents separately. Just because it is possible in unicode does not mean it is a good idea. It causes all the problems you just discovered. In fact, the editor automatically normalizes all such cases into their combined form when first loading the text.
Perfect. #1 and #2 solved as it becomes just a masochist geek issue.


Quote:
Originally Posted by kovidgoyal View Post
As for invisible characters, there are lots and lots of those. The problem with replacing them with visible characters is that you then have to keep track of when those visible characters come from the replacement and when they are part of the original document. That's not really do-able robustly.
Entering brainstorming noob mode.

Please remember that I don't want a full replacement but just for viewing. I mean the real HTML text always contains a soft hyphen (or any other one) despite how it is rendered in the editor.

But nevertheless, maybe even just ONE symbol for telling the user "invisible character here" would be just great. That symbol and the current identification tool we have in the lower right corner would be more than enough.

And maybe you cannot keep track of all the possible invisible items, but maybe you could create a "list" with the ones you currently know and update it as best as you can. If the editor catches one symbol and it is in the "list", the "invisible character here" replacement would be rendered (if selected by the user in the related preference or whichever other method). Of course, there's a risk of missing some or lots of them. But showing just some of them is much times better (about infinity) than showing none.

Just thoughts, (possibly nonsense...)
arspr is offline   Reply With Quote