[Github-comments] [geany/geany] Fixes & changes for #1470 (#1554)

elextr notifications at xxxxx
Tue Sep 19 11:57:30 UTC 2017


> While most encodings are roughly US-ASCII compatible, you'd have to survey every single supported encoding to ensure that character 95 is used for underscore and not something else. 

So long as the character exists in the encoding there won't be any problems, but if the character does not exist in the target encoding then the file won't save.  Doesn't matter if it encodes to something different, but if it does not exist `g_convert()` will fail and the save will be aborted.  

Having symbol parsing temporarily incorrect is common while writing code, so incorrect syntax is probably less of a problem than being unable to save the file.

Certainly ASCII alphabetics are the most likely to exist, and simple punctuation like dot (.).  So maybe stick with the three character string "..." even if it will not be legal syntax in most languages.  

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1554#issuecomment-330516455
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170919/c011881c/attachment.html>


More information about the Github-comments mailing list