Hi David,
I am setting up the online shop-site for {link saved} and, as you can check {linksaved}), I do not manage to solve this problem: Spanish acented letters (i.e. á, é, í, etc.) are rendered incorrectly. I have already tried using the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
in header.php. but still have that problem (the server charset is set on UTF-8).
I also would like to know how to avoid accents in URLs (e.g.{link saved}) and how to rewrite lower case letters in place of uppers (e.g. {link saved})
Thanks
Misalf
David,
First of all, many thanks for your quick answer.
I am waiting for my hosting provider to get active the FTP temporary access. As soon as I receive it I’ll send you.
As far as the first point (spanish accents on content), as you said, config.php is on UTF-8 and my editor settings are on UTF-8 as a default.
Would be an idea to manually change accented letters by html entities?
For instance, in translate.php:
$translate["Review This Product"] = "Escribe tu opinión";
instead of
$translate["Review This Product"] = "Escribe tu opinión";
Misalf
Hello Misalf,
Yes - that can be a good idea to prevent problems elsewhere or in the future!
Cheers,
David.
Hello Misalf,
The first thing to check is the $config_charset in your config.php - double check that it is UTF-8, but I think I can see from your site that it is.
However, it looks like the text editor you have used to edit your files is saving them as ISO-8859-1, because if I manually change to that using my browser your text appears correctly.
There is a fix that I can apply for you to make accented characters work in URLs, please can you email me the following files:
index.php
search.php
products.php
(and tell me if you want product URLs making all lower case?)
And also to make your category/brand/merchant URLs lower case, also include:
brands.php
merchants.php
categories.php
Or if you would rather just send me temporary FTP details to your /compras/ folder that would be fine I can do it that way!
Cheers,
David.