On Mar 29, 2017, at 2:47 PM, The Tick <[email protected]> wrote: > > I also understand that a program script or, say, C source file can use the > utf-8 escape sequence to generate these characters when the program is run. > That is not possible in comments tho.
I put © in C++ comments all the time. Every time I touch an old file that still uses (c), I update it. All of the C++ compilers I use cope with this just fine. UTF-8 isn’t an “escape sequence” system, by the way. It’s interpreted by the terminal, but it isn’t part of the terminal protocol. You tell your local terminal what character encoding you want it to use as part of the locale setting. UTF-8 is no more an “escape sequence” than would be setting your terminal into EBCDIC mode or changing it from US-English to UK-English. And if you think that latter has no effect on the keyboard input interpretation, try it, then see what happens when you try to “cd ~/foo”. I have to fix that every time I re-flash my Raspberry Pi with Raspbian, which defaults to expect a British English keyboard. I suppose they think that’s fair revenge for the decades of software from US developers that blindly assumes US-English keyboards. :) _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

