GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Change the HTML Encoding from UTF-8 to ISO-8859-1

Click to view RSS...
Author Changing html encoding of web publishing
Posted Sunday, March 30, 2008 - Post #21207
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members
FamilyTrees.GenoPro.com
GenoPro version: 2.5.3.8

Last Login: Wednesday, October 3, 2012
Posts: 7, Visits: 37
Hi,

Can we change somewhere the html encoding of web reports?

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

Regards

Edited: Monday, March 31, 2008 by GenoProSupport

Posted Monday, March 31, 2008 - Post #21209
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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"/>
Posted Monday, March 31, 2008 - Post #21210
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6

Last Login: Tuesday, December 16, 2008
Posts: 390, Visits: 1,271
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

Posted Monday, March 31, 2008 - Post #21211
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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.

Posted Monday, March 31, 2008 - Post #21212
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
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"


Edited: Monday, March 31, 2008 by Ron
Posted Monday, March 31, 2008 - Post #21214
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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.


Edited: Monday, March 31, 2008 by GenoProSupport
Posted Monday, March 31, 2008 - Post #21217
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members
FamilyTrees.GenoPro.com
GenoPro version: 2.5.3.8

Last Login: Wednesday, October 3, 2012
Posts: 7, Visits: 37
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?

Edited: Monday, March 31, 2008 by GenoProSupport

Posted Monday, March 31, 2008 - Post #21218
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
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.

Edited: Monday, March 31, 2008 by GenoProSupport

Posted Monday, March 31, 2008 - Post #21221
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members
FamilyTrees.GenoPro.com
GenoPro version: 2.5.3.8

Last Login: Wednesday, October 3, 2012
Posts: 7, Visits: 37
You can have a look at http://www.betant.ch/arbre/default.htm

Some frame are now ok, but not all.

Posted Monday, March 31, 2008 - Post #21222
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
On my browser, everything looks fine on both InternetExplorer and FireFox.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse