On Tue, 3 Nov 2026 02:57:27 +0100, Carlos E. R. wrote:
> Heck, Borland in the 90's had an IDE with integrated help that could
> find the proper help paragraph by clicking on a keyword in your text.
> Seems too difficult to replicate. Not even Lazarus has it.
I happen to have a html document open in VS Code at the moment. If the
mouse hovers over 'charset' it pops up a dialog:
"This attribute declares the page's character encoding. It must contain a
standard IANA MIME name for character encodings. Although the standard
doesn't request a specific encoding, it suggests:
Authors are encouraged to use UTF-8.
Authors should not use ASCII-incompatible encodings to avoid security
risk: browsers not supporting them may interpret harmful content as HTML.
This happens with the JIS_C6226-1983, JIS_X0212-1990, HZ-GB-2312, JOHAB,
the ISO-2022 family and the EBCDIC family.
Note: ASCII-incompatible encodings are those that don't map the 8-bit code
points 0x20 to 0x7E to the 0x0020 to 0x007E Unicode code points)
Authors must not use CESU-8, UTF-7, BOCU-1 and/or SCSU as cross-site
scripting attacks with these encodings have been demonstrated.
Authors should not use UTF-32 because not all HTML5 encoding algorithms
can distinguish it from UTF-16."
html itself is shorter
"The html element represents the root of an HTML document.
 Widely available across major browsers (Baseline since 2015)
MDN Reference"
'MDN Reference' is a link that will open
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/html
in the browser. For C code, hovering over 'strcmp' pops
"int strcmp(const char *__s1, const char *__s2)
Compare S1 and S2."
That isn't as detailed but it can be helpful. After all these years I
sometimes forget which end of the parameter list the FILE* or fd goes on
for fopen() versus open(). I suppose in the mists of time there was some
reason why they are inconsistent.