Re: [Mirrors] Webgate.il admins...
On Feb 18, 2010, at 2:03 PM, Karl Vollmer wrote: > > - > > + This is now done and live on the main OMPI site; the rest of you will pick it up in your next update. Thanks everyone! -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [Mirrors] Webgate.il admins...
> > Ok. So what we're specifically talking about is this, right: > > Index: includes/http_header.inc > === > --- includes/http_header.inc (revision 1172) > +++ includes/http_header.inc (working copy) > @@ -1,7 +1,7 @@ > "http://www.w3.org/TR/html4/strict.dtd";> > > > - > + >if (isset($meta_desc)) { > print("\n"); > > But even with this change, it's still safest to use the encoding of the > Hebrew characters in mirrors.txt, right? Or does this change allow me to put > back the Hebrew characters in mirrors.txt? Which way is preferred, or are > they more-or-less equivalent? > > As a side note: I'm wondering how you come up with the ... encoding for a > random set of non-english characters. Are there UTF-8 -> encoding > convertors or something? > Yes - That should do it. It's still safer to use the encoding as then even if they don't have UTF-8, but do have the required font it would still work. As for the entities there is a giant list you can look at, or often tools like http://www.wandel.person.dk/hebrew.html out there written by some bored person. Personally I think strait UTF-8 is "cleaner" but the entities are most likely the "best" way for the lowest common demoninator, if not the right way to do it. Reference Documents: "When to use Escapes" http://www.w3.org/International/questions/qa-escapes UTF-8 Table http://www.utf8-chartable.de/unicode-utf8-table.pl Most likely more then you needed, but I've spent so much time fighting character set issues they've become somewhat of a passion... > > FWIW, we use a postgres DB for our regression testing database (see > www.open-mpi.org/mtt/), but we don't allow that stuff to be mirrored. > There's wy too much data accumulated each night, and it would also > significantly raise the bar on the requirements for mirroring the Open MPI > web site. Not desirable. :-) Hehe - Yeah no thanks! :) -Karl Vollmer
Re: [Mirrors] Webgate.il admins...
On Feb 18, 2010, at 9:15 AM, Karl Vollmer wrote: > I'd would do the entire site. UTF-8 has a base of standard ASCII so all > english characters would still render correctly even if the visitor does not > have UTF-8 installed on their system. They would lose the non-ASCII > characters, but if they don't have UTF-8 it's doubtful they have the fonts > for non-ASCII characters anyway. > > google.com is UTF-8, if it's good enough for google :) Ok. So what we're specifically talking about is this, right: Index: includes/http_header.inc === --- includes/http_header.inc(revision 1172) +++ includes/http_header.inc(working copy) @@ -1,7 +1,7 @@ http://www.w3.org/TR/html4/strict.dtd";> - + \n"); But even with this change, it's still safest to use the encoding of the Hebrew characters in mirrors.txt, right? Or does this change allow me to put back the Hebrew characters in mirrors.txt? Which way is preferred, or are they more-or-less equivalent? As a side note: I'm wondering how you come up with the ... encoding for a random set of non-english characters. Are there UTF-8 -> encoding convertors or something? > As for MySQL - you don't appear to be using it, as otherwise we'd all have to > have MySQL databases... :) FWIW, we use a postgres DB for our regression testing database (see www.open-mpi.org/mtt/), but we don't allow that stuff to be mirrored. There's wy too much data accumulated each night, and it would also significantly raise the bar on the requirements for mirroring the Open MPI web site. Not desirable. :-) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [Mirrors] Webgate.il admins...
I'd would do the entire site. UTF-8 has a base of standard ASCII so all english characters would still render correctly even if the visitor does not have UTF-8 installed on their system. They would lose the non-ASCII characters, but if they don't have UTF-8 it's doubtful they have the fonts for non-ASCII characters anyway. google.com is UTF-8, if it's good enough for google :) As for MySQL - you don't appear to be using it, as otherwise we'd all have to have MySQL databases... :) -Karl On Thu, Feb 18, 2010 at 03:58:09PM +0200, WebGate dv6 wrote: > Since you use php I guess you probably use MySql. > The default MySql Charest is latin. > For properly work with UTF-8 pages should be set to UTF-8 as well. > The MySql encoding change procedure not so trivial ,so if you have Hebrew , > China or other not English data in the MySql it can become harmful. > > > -Original Message- > From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On > Behalf Of Jeff Squyres > Sent: יום ה 18 פברואר 2010 15:40 > To: List for Open MPI web mirror site administrators > Subject: Re: [Mirrors] Webgate.il admins... > > On Feb 18, 2010, at 8:25 AM, Karl Vollmer wrote: > > > My personaly opinion is UTF-8. The sooner we get everyone using it, the > > sooner we don't have these annoying charset issues :( > > For the whole OMPI site, or just that page? > > I assume you're saying for the whole site, right? Is there any *harm* in > switching the whole OMPI site to UTF-8? (again, forgive my ignorance of > this stuff... I dabble in PHP, but I'm a far cry from a professional web > developer/admin. Network middleware is my real forte :-) ) > > -- > Jeff Squyres > jsquy...@cisco.com > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > __ Information from ESET NOD32 Antivirus, version of virus signature > database 4876 (20100218) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > > __ Information from ESET NOD32 Antivirus, version of virus signature > database 4876 (20100218) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors >
Re: [Mirrors] Webgate.il admins...
Since you use php I guess you probably use MySql. The default MySql Charest is latin. For properly work with UTF-8 pages should be set to UTF-8 as well. The MySql encoding change procedure not so trivial ,so if you have Hebrew , China or other not English data in the MySql it can become harmful. -Original Message- From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On Behalf Of Jeff Squyres Sent: יום ה 18 פברואר 2010 15:40 To: List for Open MPI web mirror site administrators Subject: Re: [Mirrors] Webgate.il admins... On Feb 18, 2010, at 8:25 AM, Karl Vollmer wrote: > My personaly opinion is UTF-8. The sooner we get everyone using it, the > sooner we don't have these annoying charset issues :( For the whole OMPI site, or just that page? I assume you're saying for the whole site, right? Is there any *harm* in switching the whole OMPI site to UTF-8? (again, forgive my ignorance of this stuff... I dabble in PHP, but I'm a far cry from a professional web developer/admin. Network middleware is my real forte :-) ) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/ ___ mirrors mailing list mirr...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/mirrors __ Information from ESET NOD32 Antivirus, version of virus signature database 4876 (20100218) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4876 (20100218) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Re: [Mirrors] Webgate.il admins...
On Feb 18, 2010, at 8:25 AM, Karl Vollmer wrote: > My personaly opinion is UTF-8. The sooner we get everyone using it, the > sooner we don't have these annoying charset issues :( For the whole OMPI site, or just that page? I assume you're saying for the whole site, right? Is there any *harm* in switching the whole OMPI site to UTF-8? (again, forgive my ignorance of this stuff... I dabble in PHP, but I'm a far cry from a professional web developer/admin. Network middleware is my real forte :-) ) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [Mirrors] Webgate.il admins...
My personaly opinion is UTF-8. The sooner we get everyone using it, the sooner we don't have these annoying charset issues :( -Karl On Thu, Feb 18, 2010 at 08:05:42AM -0500, Jeff Squyres wrote: > Thanks! I changed it to use the lengthy &#... encoding and it is appearing > fine on my site; let's see what happens when you guys update (the actual > taglines are in mirrors.txt; the php reads in this file and outputs pretty > html for the page itself). > > Any ideas why the old way worked on my server and not any others? > > Finally, should I *also* change the page encoding to be UTF-8, or should I > just leave it? > > > On Feb 18, 2010, at 7:34 AM, WebGate dv6 wrote: > > > Hello, > > Right, UTF-8 solve that for sure > > But please remember , when you synchronize , you custom UTF-8 will be > > overwritten to the original ISO-8859-1. > > So better way keep it as I suggest, work for any encoding. > > > > > > -Original Message- > > From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On > > Behalf Of Karl Vollmer > > Sent: יום ה 18 פברואר 2010 14:16 > > To: List for Open MPI web mirror site administrators > > Subject: Re: [Mirrors] Webgate.il admins... > > > > Jeff, > > > > I'm not a webgate admin, and my way may be wrong. But I've always used the > > HTML codes when adding non-ascii characters to a webpage otherwise encoded > > in ISO- > > > > On that note it appears the problem is that the page headers are ISO-??? > > not UTF-8 > > > >> "http://www.w3.org/TR/html4/strict.dtd";> > > > > > > > > > > At the top of the html code. > > > > Changing the content="???" to > > > > text/html; charset=UTF-8 > > > > in the /include/http_header.inc Fixed it on > > http://mirror.its.dal.ca/openmpi > > > > Let me know once you've seen it and I'll revert the file so I'm inline > > with upstream. > > > > -Karl > > > > On Wed, Feb 17, 2010 at 09:51:11PM -0500, Jeff Squyres wrote: > > > Webgate admins -- > > > > > > I was proud of myself for getting the hebrew characters in the tagline of > > your site listed properly here: > > > > > > http://www.open-mpi.org/community/mirrors/ > > > > > > However, this exact same text does not display properly on any of Open > > MPI's mirrors, even yours: > > > > > > http://mpi.webgate.co.il/community/mirrors/ > > > > > > As an ugly american, I rarely deal with i18n kinds of issues. :-( Can > > you hit me with a clue bat as to what I'm doing wrong? > > > > > > -- > > > Jeff Squyres > > > jsquy...@cisco.com > > > > > > For corporate legal information go to: > > > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > > > > > > > ___ > > > mirrors mailing list > > > mirr...@open-mpi.org > > > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > > > ___ > > mirrors mailing list > > mirr...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > > > > __ Information from ESET NOD32 Antivirus, version of virus signature > > database 4876 (20100218) __ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > > > > > __ Information from ESET NOD32 Antivirus, version of virus signature > > database 4876 (20100218) __ > > > > The message was checked by ESET NOD32 Antivirus. > > > > http://www.eset.com > > > > > > > > ___ > > mirrors mailing list > > mirr...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > > > -- > Jeff Squyres > jsquy...@cisco.com > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors >
Re: [Mirrors] Webgate.il admins...
Thanks! I changed it to use the lengthy &#... encoding and it is appearing fine on my site; let's see what happens when you guys update (the actual taglines are in mirrors.txt; the php reads in this file and outputs pretty html for the page itself). Any ideas why the old way worked on my server and not any others? Finally, should I *also* change the page encoding to be UTF-8, or should I just leave it? On Feb 18, 2010, at 7:34 AM, WebGate dv6 wrote: > Hello, > Right, UTF-8 solve that for sure > But please remember , when you synchronize , you custom UTF-8 will be > overwritten to the original ISO-8859-1. > So better way keep it as I suggest, work for any encoding. > > > -Original Message- > From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On > Behalf Of Karl Vollmer > Sent: יום ה 18 פברואר 2010 14:16 > To: List for Open MPI web mirror site administrators > Subject: Re: [Mirrors] Webgate.il admins... > > Jeff, > > I'm not a webgate admin, and my way may be wrong. But I've always used the > HTML codes when adding non-ascii characters to a webpage otherwise encoded > in ISO- > > On that note it appears the problem is that the page headers are ISO-??? > not UTF-8 > > "http://www.w3.org/TR/html4/strict.dtd";> > > > > > At the top of the html code. > > Changing the content="???" to > > text/html; charset=UTF-8 > > in the /include/http_header.inc Fixed it on > http://mirror.its.dal.ca/openmpi > > Let me know once you've seen it and I'll revert the file so I'm inline > with upstream. > > -Karl > > On Wed, Feb 17, 2010 at 09:51:11PM -0500, Jeff Squyres wrote: > > Webgate admins -- > > > > I was proud of myself for getting the hebrew characters in the tagline of > your site listed properly here: > > > > http://www.open-mpi.org/community/mirrors/ > > > > However, this exact same text does not display properly on any of Open > MPI's mirrors, even yours: > > > > http://mpi.webgate.co.il/community/mirrors/ > > > > As an ugly american, I rarely deal with i18n kinds of issues. :-( Can > you hit me with a clue bat as to what I'm doing wrong? > > > > -- > > Jeff Squyres > > jsquy...@cisco.com > > > > For corporate legal information go to: > > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > > > > ___ > > mirrors mailing list > > mirr...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > > > __ Information from ESET NOD32 Antivirus, version of virus signature > database 4876 (20100218) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > > > __ Information from ESET NOD32 Antivirus, version of virus signature > database 4876 (20100218) __ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [Mirrors] Webgate.il admins...
Hello, Right, UTF-8 solve that for sure But please remember , when you synchronize , you custom UTF-8 will be overwritten to the original ISO-8859-1. So better way keep it as I suggest, work for any encoding. -Original Message- From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On Behalf Of Karl Vollmer Sent: יום ה 18 פברואר 2010 14:16 To: List for Open MPI web mirror site administrators Subject: Re: [Mirrors] Webgate.il admins... Jeff, I'm not a webgate admin, and my way may be wrong. But I've always used the HTML codes when adding non-ascii characters to a webpage otherwise encoded in ISO- On that note it appears the problem is that the page headers are ISO-??? not UTF-8 http://www.w3.org/TR/html4/strict.dtd";> At the top of the html code. Changing the content="???" to text/html; charset=UTF-8 in the /include/http_header.inc Fixed it on http://mirror.its.dal.ca/openmpi Let me know once you've seen it and I'll revert the file so I'm inline with upstream. -Karl On Wed, Feb 17, 2010 at 09:51:11PM -0500, Jeff Squyres wrote: > Webgate admins -- > > I was proud of myself for getting the hebrew characters in the tagline of your site listed properly here: > > http://www.open-mpi.org/community/mirrors/ > > However, this exact same text does not display properly on any of Open MPI's mirrors, even yours: > > http://mpi.webgate.co.il/community/mirrors/ > > As an ugly american, I rarely deal with i18n kinds of issues. :-( Can you hit me with a clue bat as to what I'm doing wrong? > > -- > Jeff Squyres > jsquy...@cisco.com > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors > ___ mirrors mailing list mirr...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/mirrors __ Information from ESET NOD32 Antivirus, version of virus signature database 4876 (20100218) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4876 (20100218) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Re: [Mirrors] Webgate.il admins...
Jeff, I'm not a webgate admin, and my way may be wrong. But I've always used the HTML codes when adding non-ascii characters to a webpage otherwise encoded in ISO- On that note it appears the problem is that the page headers are ISO-??? not UTF-8 http://www.w3.org/TR/html4/strict.dtd";> At the top of the html code. Changing the content="???" to text/html; charset=UTF-8 in the /include/http_header.inc Fixed it on http://mirror.its.dal.ca/openmpi Let me know once you've seen it and I'll revert the file so I'm inline with upstream. -Karl On Wed, Feb 17, 2010 at 09:51:11PM -0500, Jeff Squyres wrote: > Webgate admins -- > > I was proud of myself for getting the hebrew characters in the tagline of > your site listed properly here: > > http://www.open-mpi.org/community/mirrors/ > > However, this exact same text does not display properly on any of Open MPI's > mirrors, even yours: > > http://mpi.webgate.co.il/community/mirrors/ > > As an ugly american, I rarely deal with i18n kinds of issues. :-( Can you > hit me with a clue bat as to what I'm doing wrong? > > -- > Jeff Squyres > jsquy...@cisco.com > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors >
Re: [Mirrors] Webgate.il admins...
Sure, Because of the page encoding, Please change it to: וובגייט איחסון אתרי אינטרנט המשתלם בישראל I did that for test proposal on my site: http://mpi.webgate.co.il/community/mirrors/ now work OK Best Regards Webgate Internet Solutions WWSales: [sa...@webgate.co.il ] T.support: [supp...@webgate.co.il] ]Telephone: 09-8350660 > -Original Message- > From: mirrors-boun...@open-mpi.org [mailto:mirrors-boun...@open-mpi.org] On > Behalf Of Jeff Squyres > Sent: Thursday, February 18, 2010 4:51 AM > To: List for Open MPI web mirror site administrators > Subject: [Mirrors] Webgate.il admins... > > Webgate admins -- > > I was proud of myself for getting the hebrew characters in the tagline of your site > listed properly here: > > http://www.open-mpi.org/community/mirrors/ > > However, this exact same text does not display properly on any of Open MPI's > mirrors, even yours: > > http://mpi.webgate.co.il/community/mirrors/ > > As an ugly american, I rarely deal with i18n kinds of issues. :-( Can you hit me > with a clue bat as to what I'm doing wrong? > > -- > Jeff Squyres > jsquy...@cisco.com > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > mirrors mailing list > mirr...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/mirrors