|
|
|
Forum Newbie
      
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
|
|
|
|
|
Legendary Master
       
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"/> |
|
|
|
|
|
Famous Writer
      
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
|
|
|
|
|
Legendary Master
       
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.
|
|
|
|
|
Grand Master
      
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"
|
|
|
|
|
Legendary Master
       
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.
|
|
|
|
|
Forum Newbie
      
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?
|
|
|
|
|
Legendary Master
       
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.
|
|
|
|
|
Forum Newbie
  | | | |