There is another solution for this feature:
1. Place a .htaccess file in the folder on the apache server.
But the best way is:
2. Rename the files from *.html to *.html.utf8
So all browser identify the files as utf-8 and the display is correct.
It would be nice to have this option in the export dialog, according to
htnl, php, ...
El Martes, 4 de Enero de 2005 08:12, Alex Roitman escribi=F3:
> On Tue, Jan 04, 2005 at 07:48:37AM +0100, Pablo de Vicente wrote:
> > I have noticed that when generating a web site all HTML files are
> > generated as UTF-8, whereas I need them in ISO-8859-1 since accents =
> > not correctly handled in the former case by the browsers. So, now, =
> > to run a script on the generated files to convert them from UTF-8 =
> > ISO-8859-1, like this:
> > iconv -f utf8 -t iso8859-1 fileInUTF8.html -o fileInISO.html
> > Is this a bug or is there a way to generate them in ISO8859-1?.
> We cannot always enforce a given charset, since we don't know for =
> what the user wants. If e.g. the data is cyrillic then attempting to
> use ISO-8859-1 will give funny results. Same with chinese.
> In my experience, most browsers actually handle UTF8 fine. The =
> usually lies with apache, which by default enforces ISO-8859-1 =
> so any non-ISO-8859-1 8-bit text comes out with wrong accents. A =
> to this is a short directive to apache, I forget which one at the =
> To really see whether it's an apache vs. a browser problem, open the
> file locally (i.e. on your computer using file:///home/user/filename =
> If the text appears correctly, there's a good chance it was apache's
> Let me know if this was the case,
You are absolutely right. My web browser sees locally the UTF8 =
am serving my pages from apache and the problem is there. I have tried =
the "AddDefaultCharset utf-8" directive to my apache web server but it =
not work. I will have a more thorough look at it.
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Gramps-users mailing list