From chu@h33.erkki.ton.tut.fi Sat Oct 8 12:13:05 2005 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DAE716A41F for ; Sat, 8 Oct 2005 12:13:05 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from h33.erkki.ton.tut.fi (h33.erkki.ton.tut.fi [193.166.84.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED15C43D45 for ; Sat, 8 Oct 2005 12:13:04 +0000 (GMT) (envelope-from chu@h33.erkki.ton.tut.fi) Received: from [10.10.1.4] (helo=localhost) by h33.erkki.ton.tut.fi with esmtp (Exim 4.53 (FreeBSD)) id 1EODeg-0001Dq-G9 for FreeBSD-gnats-submit@freebsd.org; Sat, 08 Oct 2005 15:18:22 +0300 Message-Id: Date: Sat, 08 Oct 2005 15:13:02 +0300 From: "Vladimir Chukharev" To: FreeBSD-gnats-submit@freebsd.org Subject: [patch] encode copyright and such symbolically >Number: 87119 >Category: www >Synopsis: [patch] encode copyright and such symbolically >Confidential: no >Severity: non-critical >Priority: low >Responsible: hrs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 08 12:20:18 GMT 2005 >Closed-Date: >Last-Modified: Tue Mar 15 17:10:12 UTC 2011 >Originator: Vladimir Chukharev >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD chu.h33.erkki.ton.tut.fi 5.4-STABLE FreeBSD 5.4-STABLE #1: Sun Sep 18 00:20:56 EEST 2005 root@chu.h33.erkki.ton.tut.fi:/usr/obj/usr/src/sys/CHU i386 >Description: ------------v8n0bsz4DsnyHkR03cn8rM Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: 8bit This is a request for minor improvement of the web site. In some rear cases the direct encoding of the symbols like Copyright is rendered incorrectly, while the same encoded as © is shown correctly. In other cases both encodings do not result in the correct one-symbol appearence, but the latter has addvantage of being showing the meaning of the symbol. Examples of the described situations: w3m/lynx browser on a dumb terminal (links seems to cope with it). Opera 8 with encoding set to koi8-r (e.g. due to previous visited site bad design). > How-To-Repeat: Try w3m http://freebsd.org from gnome terminal with ASCII encoding. Congrats with generally great design! -- V.Chukharev > Fix: ------------v8n0bsz4DsnyHkR03cn8rM Content-Disposition: attachment; filename=index.patch Content-Type: application/octet-stream; name=index.patch Content-Transfer-Encoding: Base64 LS0tIGluZGV4Lmh0bWwub2xkCVNhdCBPY3QgIDggMTQ6MDU6MDggMjAwNQorKysg aW5kZXguaHRtbAlTYXQgT2N0ICA4IDE0OjIyOjAyIDIwMDUKQEAgLTEyOCwxNCAr MTI4LDE0IEBACiAgICAgICAgICAgICAgIDxkaXYgaWQ9ImZyb250ZmVhdHVyZWNv bnRhaW5lciI+CiAgICAgICAgICAgICAgICAgPGRpdiBpZD0iZnJvbnRmZWF0dXJl bGVmdCI+CiAgICAgICAgICAgICAgICAgICA8ZGl2IGlkPSJmcm9udGZlYXR1cmVj b250ZW50Ij4KLSAgICAgICAgICAgICAgICAgICAgPGgxPkJhc2VkIG9uIEJTRCBV TklYrjwvaDE+CisgICAgICAgICAgICAgICAgICAgIDxoMT5CYXNlZCBvbiBCU0Qg VU5JWCZyZWc7PC9oMT4KIAogICAgICAgICAgICAgICAgICAgICA8cD5GcmVlQlNE IGlzIGFuIGFkdmFuY2VkIG9wZXJhdGluZyBzeXN0ZW0gZm9yCi0gICAgICAgICAg ICAgICAgICAgIHg4NiBjb21wYXRpYmxlIChpbmNsdWRpbmcgUGVudGl1ba4gYW5k IEF0aGxvbgorICAgICAgICAgICAgICAgICAgICB4ODYgY29tcGF0aWJsZSAoaW5j bHVkaW5nIFBlbnRpdW0mcmVnOyBhbmQgQXRobG9uCiAgICAgICAgICAgICAgICAg ICAgICYjODQ4MjspLCBhbWQ2NCBjb21wYXRpYmxlIChpbmNsdWRpbmcgT3B0ZXJv bgogICAgICAgICAgICAgICAgICAgICAmIzg0ODI7LCBBdGhsb24gNjQsIGFuZCBF TTY0VCksIEFscGhhL0FYUCwKLSAgICAgICAgICAgICAgICAgICAgSUEtNjQsIFBD LTk4IGFuZCBVbHRyYVNQQVJDriBhcmNoaXRlY3R1cmVzLiBJdAotICAgICAgICAg ICAgICAgICAgICBpcyBkZXJpdmVkIGZyb20gQlNELCB0aGUgdmVyc2lvbiBvZiBV TklYrgorICAgICAgICAgICAgICAgICAgICBJQS02NCwgUEMtOTggYW5kIFVsdHJh U1BBUkMmcmVnOyBhcmNoaXRlY3R1cmVzLiBJdAorICAgICAgICAgICAgICAgICAg ICBpcyBkZXJpdmVkIGZyb20gQlNELCB0aGUgdmVyc2lvbiBvZiBVTklYJnJlZzsK ICAgICAgICAgICAgICAgICAgICAgZGV2ZWxvcGVkIGF0IHRoZSBVbml2ZXJzaXR5 IG9mIENhbGlmb3JuaWEsCiAgICAgICAgICAgICAgICAgICAgIEJlcmtlbGV5LiBJ dCBpcyBkZXZlbG9wZWQgYW5kIG1haW50YWluZWQgYnkgYQogICAgICAgICAgICAg ICAgICAgICA8YQpAQCAtMTQ1LDcgKzE0NSw3IEBACiAgICAgICAgICAgICAgICAg ICAgIHZhcmlvdXMgc3RhZ2VzIG9mIGRldmVsb3BtZW50LjwvcD4KIAogICAgICAg ICAgICAgICAgICAgICA8ZGl2IGlkPSJ0eHRmcm9udGZlYXR1cmVsaW5rIj4KLSAg ICAgICAgICAgICAgICAgICAgICC7PGEgaHJlZj0iLi9hYm91dC5odG1sIgorICAg ICAgICAgICAgICAgICAgICAgICZyYXF1bzs8YSBocmVmPSIuL2Fib3V0Lmh0bWwi CiAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU9IkxlYXJuIE1vcmUiPkxlYXJu IE1vcmU8L2E+CiAgICAgICAgICAgICAgICAgICAgIDwvZGl2PgogICAgICAgICAg ICAgICAgICAgPC9kaXY+CkBAIC0xMDQyLDcgKzEwNDIsNyBAQAogICAgICAgICA8 L2Rpdj4KIAogICAgICAgICA8ZGl2IGlkPSJmb290ZXIiPgotICAgICAgICAgIDxh IGhyZWY9Ii4vY29weXJpZ2h0LyI+TGVnYWwgTm90aWNlczwvYT4gfCCpIDE5OTUt MjAwNQorICAgICAgICAgIDxhIGhyZWY9Ii4vY29weXJpZ2h0LyI+TGVnYWwgTm90 aWNlczwvYT4gfCAmY29weTsgMTk5NS0yMDA1CiAgICAgICAgICAgVGhlIEZyZWVC U0QgUHJvamVjdC4gQWxsIHJpZ2h0cyByZXNlcnZlZC48YnIgLz4KICAgICAgICAg ICAkRnJlZUJTRDogd3d3L2VuL2luZGV4LnhzbCx2IDEuMTMzIDIwMDUvMTAvMDcg MDI6NTE6NTUKICAgICAgICAgICBtdXJyYXkgRXhwICQK ------------v8n0bsz4DsnyHkR03cn8rM-- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Class-Changed-From-To: sw-bug->change-request Class-Changed-By: linimon Class-Changed-When: Sat Oct 8 13:05:50 GMT 2005 Class-Changed-Why: Rescue this PR from the 'pending' category. Responsible-Changed-From-To: gnats-admin->freebsd-www Responsible-Changed-By: linimon Responsible-Changed-When: Sat Oct 8 13:05:50 GMT 2005 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=87119 From: "Vladimir Chukharev" To: bug-followup@freebsd.org Cc: Subject: Re: www/87119: [patch] encode copyright and such symbolically Date: Sun, 09 Oct 2005 00:11:19 +0300 After I had sent the PR I realized the patch is for the wrong file - it's index.xsl to be patched, not index.html. The xsl file has all the special symbols written the same way, as &#nnnn; and some of them are kept in this format in the html file, while the others are transformed to just a byte with the given code. I do not know how to fix this right. Can the entities ©, ® etc be used in xsl files? I think this form is better than &#nnnn;, at least in html files. -- V.Chukharev PS. Unfortunately Opera encoded the attached patch into base64 in the original PR, I put it here again in plain text. --- index.html.old Sat Oct 8 14:05:08 2005 +++ index.html Sat Oct 8 14:22:02 2005 @@ -128,14 +128,14 @@
-

Based on BSD UNIX®

+

Based on BSD UNIX®

FreeBSD is an advanced operating system for - x86 compatible (including Pentium® and Athlon + x86 compatible (including Pentium® and Athlon ™), amd64 compatible (including Opteron ™, Athlon 64, and EM64T), Alpha/AXP, - IA-64, PC-98 and UltraSPARC® architectures. It - is derived from BSD, the version of UNIX® + IA-64, PC-98 and UltraSPARC® architectures. It + is derived from BSD, the version of UNIX® developed at the University of California, Berkeley. It is developed and maintained by a

@@ -1042,7 +1042,7 @@