unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 27.0.50; bad position of character encoding declaration in the HTML version of manuals
@ 2019-12-23  9:32 Jean-Christophe Helary
  2019-12-25  2:44 ` bug#38722: " Richard Stallman
  2019-12-25 10:14 ` Gavin Smith
  0 siblings, 2 replies; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-12-23  9:32 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: help-texinfo

According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:

https://www.w3.org/International/questions/qa-html-encoding-declarations

The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38722: 27.0.50; bad position of character encoding declaration in the HTML version of manuals
  2019-12-23  9:32 27.0.50; bad position of character encoding declaration in the HTML version of manuals Jean-Christophe Helary
@ 2019-12-25  2:44 ` Richard Stallman
  2019-12-25 12:00   ` Jean-Christophe Helary
  2019-12-25 10:14 ` Gavin Smith
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2019-12-25  2:44 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: help-texinfo, 38722

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Is this a bug in the program that generates HTML output from .texi files?
It sounds that way.

-- 
Dr Richard Stallman
Founder, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 27.0.50; bad position of character encoding declaration in the HTML version of manuals
  2019-12-23  9:32 27.0.50; bad position of character encoding declaration in the HTML version of manuals Jean-Christophe Helary
  2019-12-25  2:44 ` bug#38722: " Richard Stallman
@ 2019-12-25 10:14 ` Gavin Smith
  2019-12-25 11:59   ` Jean-Christophe Helary
  2020-08-25 22:58   ` bug#38722: " Stefan Kangas
  1 sibling, 2 replies; 6+ messages in thread
From: Gavin Smith @ 2019-12-25 10:14 UTC (permalink / raw)
  To: Jean-Christophe Helary; +Cc: bug-gnu-emacs, help-texinfo

On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
> 
> https://www.w3.org/International/questions/qa-html-encoding-declarations
> 
> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.

You mean 1024 bytes.

We attempted to fix this issue before but apparently it is not enough.  
If the copying statement is too long, then the encoding declaration will 
be too late.

https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html

I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 27.0.50; bad position of character encoding declaration in the HTML version of manuals
  2019-12-25 10:14 ` Gavin Smith
@ 2019-12-25 11:59   ` Jean-Christophe Helary
  2020-08-25 22:58   ` bug#38722: " Stefan Kangas
  1 sibling, 0 replies; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-12-25 11:59 UTC (permalink / raw)
  To: Gavin Smith; +Cc: bug-gnu-emacs, help-texinfo



> On Dec 25, 2019, at 19:14, Gavin Smith <gavinsmith0123@gmail.com> wrote:
> 
> On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
>> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
>> 
>> https://www.w3.org/International/questions/qa-html-encoding-declarations
>> 
>> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.
> 
> You mean 1024 bytes.

Apologies. Yes. That's what I mean.

> We attempted to fix this issue before but apparently it is not enough.  
> If the copying statement is too long, then the encoding declaration will 
> be too late.
> 
> https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html
> 
> I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.

Ok, I guess you've checked the output on your side already. I'll do the same when I can checkout/build the code. Thank you very much.

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38722: 27.0.50; bad position of character encoding declaration in the HTML version of manuals
  2019-12-25  2:44 ` bug#38722: " Richard Stallman
@ 2019-12-25 12:00   ` Jean-Christophe Helary
  0 siblings, 0 replies; 6+ messages in thread
From: Jean-Christophe Helary @ 2019-12-25 12:00 UTC (permalink / raw)
  To: rms; +Cc: help-texinfo, 38722



> On Dec 25, 2019, at 11:44, Richard Stallman <rms@gnu.org> wrote:
> 
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> 
> Is this a bug in the program that generates HTML output from .texi files?
> It sounds that way.

It seems so. Gavin Smith has committed a fix earlier today.


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38722: 27.0.50; bad position of character encoding declaration in the HTML version of manuals
  2019-12-25 10:14 ` Gavin Smith
  2019-12-25 11:59   ` Jean-Christophe Helary
@ 2020-08-25 22:58   ` Stefan Kangas
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Kangas @ 2020-08-25 22:58 UTC (permalink / raw)
  To: Gavin Smith; +Cc: Jean-Christophe Helary, 38722-done

Gavin Smith <gavinsmith0123@gmail.com> writes:

> On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
>> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
>>
>> https://www.w3.org/International/questions/qa-html-encoding-declarations
>>
>> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.
>
> You mean 1024 bytes.
>
> We attempted to fix this issue before but apparently it is not enough.
> If the copying statement is too long, then the encoding declaration will
> be too late.
>
> https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html
>
> I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.

If I understand this thread correctly, this was a bug in texinfo, and
not in Emacs.  I'm therefore closing the Emacs bug report now.

If this conclusion is incorrect, please reply to this email (use "Reply
to all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-25 22:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-23  9:32 27.0.50; bad position of character encoding declaration in the HTML version of manuals Jean-Christophe Helary
2019-12-25  2:44 ` bug#38722: " Richard Stallman
2019-12-25 12:00   ` Jean-Christophe Helary
2019-12-25 10:14 ` Gavin Smith
2019-12-25 11:59   ` Jean-Christophe Helary
2020-08-25 22:58   ` bug#38722: " Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).