Change the HTML Encoding from UTF-8 to ISO-8859-1
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


12»»

Change the HTML Encoding from UTF-8 to ISO-8859-1 Expand / Collapse
Author
Message
Post #21207 Posted 3/31/2008 3:57:17 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 4/30/2008 10:24:05 AM
GenoPro Version: 2.00
Posts: 7, Visits: 29
Hi,

Can we change somewhere the html encoding of web reports?

My web site uses ISO-8859-1, having UTF-8 creates garbage!

Regards

Post #21209 Posted 3/31/2008 6:44:08 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Yesterday @ 7:57:39 AM
GenoPro Version: 2.0.1.6
Posts: 3,515, Visits: 14,842
In the HTML template, replace

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

with

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>


Post #21210 Posted 3/31/2008 6:58:13 AM


Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Yesterday @ 10:31:13 AM
GenoPro Version: 2.0.1.6
Posts: 472, Visits: 1,255
I counted 34 htm templates. Though the change in all of them may not be necessary?

Looks like Ron will have to add up another 'charset' parameter in config!

JC

Post #21211 Posted 3/31/2008 7:40:41 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Yesterday @ 7:57:39 AM
GenoPro Version: 2.0.1.6
Posts: 3,515, Visits: 14,842
jcguasp (3/31/2008)
Looks like Ron will have to add up another 'charset' parameter in config!

I am not sure it is a good idea.  Using a character set (encoding) other than UTF-8 is not recommended.  Somehow there is a problem with the ISP to require the characer set ISO-8859-1.

Post #21212 Posted 3/31/2008 7:59:10 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Yesterday @ 3:53:51 PM
GenoPro Version: 2.0.1.6
Posts: 1,143, Visits: 5,346
I am puzzled. What relevance does the web site have on character encoding? Surely as the pages are produced by the Report Generator as UTF-8, then the user should ensure his browser is also set to view UTF-8, the actual content should be transparent to the server. Perhaps chetant is trying to incorporate the pages into his/her own site that has exisiting ISO-8859-1 pages. Setting the browser to auto-select character encoding should handle this.

Will changing the meta tag produce the required result? Will the page contents need to be re-encoded too?


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #21214 Posted 3/31/2008 8:17:24 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Yesterday @ 7:57:39 AM
GenoPro Version: 2.0.1.6
Posts: 3,515, Visits: 14,842
Ron (3/31/2008)
I am puzzled. What relevance does the web site have on character encoding?


It is a problem with the web server. Somehow the web server is inconsistent when transmitting an HTML page. For instance, the content-type in the HTML header may be UTF-8 while the content-type returned by the web server into the TCP/IP packet may be ISO-8859-1.

Setting the browser to auto-select character encoding should handle this.

The problem is with the web server returning inconsistent values. Next time the browser fetches the HTML page from its cache, it will render the page in a different code page.

This is the reason why we offer http://familytrees.genopro.com/, to solve all those problems from different web servers.


Post #21217 Posted 3/31/2008 9:05:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Forum Members
Last Login: 4/30/2008 10:24:05 AM
GenoPro Version: 2.00
Posts: 7, Visits: 29
My issue is that my Web editor software doesn't support UTF-8 yet, so I had to setup the server to work with ISO. Now I cannot mix some pages with UTF and some with ISO. Don't ask me why, but the server setting takes over any page coding.

I went through all those template....

Processing 'heading.htm'...
The template uses the charset 'ISO-8859-1' ('Western European (ISO)', code page 28591) which is not suited for Unicode!
   Please change to: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Safe Encoding Enabled

At the end when all is pushed to the web it went back to utf-8! :-(

Is this Safe Encoding behind all this?

Post #21218 Posted 3/31/2008 9:15:34 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Yesterday @ 7:57:39 AM
GenoPro Version: 2.0.1.6
Posts: 3,515, Visits: 14,842
GenoPro automatically enables Safe Encoding if the character set is not UTF-8.  This is to prevent garbage characters to be displayed, at the expense of file size and performance.

At the end when all is pushed to the web it went back to utf-8! :-(

Can you post an HTML page, I will take a look at the encoding.  If you change the encoding, you will get the warning, however GenoPro should encode the characters to ISO-8859-1.

Post #21221 Posted 3/31/2008 10:21:18 AM
Forum Newbie

Forum Newbie