[Privoxy-devel] privoxy debian patches
Lee
ler762 at gmail.com
Tue Oct 16 06:19:40 UTC 2018
Hi Roland,
On 10/15/18, Roland Rosenfeld <roland at spinnaker.de> wrote:
> Hi Lee!
>
> On Fr, 12 Okt 2018, Lee wrote:
>
>> >>> I just tried building the privoxy docs with & without the patch
>> >>> and I don't see the difference.
>> >>
>> >> So it may no longer be necessary, at least on your system :-)
>> >
>> > Which is not all that reassuring. Along with "© converted to
>> > 8bit char" type things seem to still be happening:
>> >
>> > Lee at i3668 /source/privoxy/privoxy/doc/source
>> > $ file *sgml | grep -v ASCII
>> > p-authors.sgml: exported SGML document, ISO-8859 text
>> >
>> > Lee at i3668 /source/privoxy/privoxy/doc/webserver/user-manual
>> > $ file *html |grep -v ASCII
>> > configuration.html: HTML document, ISO-8859 text
>> > copyright.html: HTML document, ISO-8859 text
>> > index.html: HTML document, ISO-8859 text
>> > quickstart.html: HTML document, ISO-8859 text
>
> So maybe my Debian system has some different docbook configuration:
> $ find . -name \*.html | xargs file | grep -v ASCII
> ./user-manual/copyright.html: HTML document, ISO-8859 text
>
> So here it's only the copyright file with the ISO-8859 chars in the
> names, while all other files are 7bit (using SGML entities instead of
> 8bit chars), which I'd prefer for all files, since it's independent of
> the charset or if we use ISO-8859-1 or UTF-8.
Can you try something please?
privoxy/doc/source/ldp.dsl.in
has a "print" and a "html" section. Can you see what happens if you change
06_8bit_manual.patch
to have the first preserve-sdata bit in the print section be false:
(declare-characteristic preserve-sdata?
"UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
#f)
and the second preserve-sdata bit in the html section be true:
(declare-characteristic preserve-sdata?
"UNREGISTERED::James Clark//Characteristic::preserve-sdata?"
#t)
At least for me, that doesn't translate the "&code;" strings. eg:
diff --git a/doc/webserver/developer-manual/index.html
b/doc/webserver/developer-manual/index.html
index 81fd85ad..f32845d3 100644
--- a/doc/webserver/developer-manual/index.html
+++ b/doc/webserver/developer-manual/index.html
@@ -42,7 +42,7 @@ HREF="https://www.privoxy.org/user-manual/copyright.html"
TARGET="_top"
>Copyright</A
>
- <A9> 2001-2018 by
+ © 2001-2018 by
<A
I also changed p-authors.sgml to be straight 7bit ascii - eg:
$ grep 'á' *sgml
p-authors.sgml: Gábor Lipták
After rebuilding everything (and using your neat find command :)
Lee at i3668 /source/privoxy/privoxy/doc
$ find . -name \*.html | xargs file | grep -v ASCII
Lee at i3668 /source/privoxy/privoxy/doc
$
yay!
Regards,
Lee
More information about the Privoxy-devel
mailing list