You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hello
There are some products in my store that the name and description are in Portuguese. When I type português and save it apears portuguÃs instead.
Offline
webmaster wrote:
You likely will want to change the charset at the top of the skin.php file for your active skin to the character set you want to use.
Hello
Where do I find the file skin.php?
Offline
Hello
I found two skin.php, one on skins/Desktop, and the other on skins/Mobile. Should I change both, I have tried changing the one on the desktop directory and no luck.
Offline
Look under System / Component / Settings / Display Skin Settings and check which skins are active there. Mod those. If that doesn't work, have your host change the character set and/or encoding Apache is running under. UTF-8 should work. If not, your specific language encoding is what you want.
Offline
Hello
I try changing the charset on the skin.php and also tried changing the character set and encoding running on Apache and no luck.The people on the hosting company that I should ask you in which of the table in the database this entry is stored and check if the correct charset is set for that table.
Offline
Good call looking at the database too. Forgot about that. They may need to change the encoding on the tables in the database. The table you referenced is ecom_prod, but it's best to change the encoding on the whole database to avoid issues in other areas as well.
Offline
webmaster wrote:
Good call looking at the database too. Forgot about that. They may need to change the encoding on the tables in the database. The table you referenced is ecom_prod, but it's best to change the encoding on the whole database to avoid issues in other areas as well.
I changed the encoding on the entire database and stil have the same result
Offline
Hi,
Something somewhere is interpreting your encoding as Windows-1252 or ISO-8859-1
Look in the "View Source" code of your admin page too. Did you change the admin skin admin.php and or skin.php in the SKINS/Core folder to your preferred encoding as they both declare your encoding?
Cheers,
Bruce.
Offline
webmaster wrote:
I'm not sure if Apache is being changed. That would be what I would have hit right after the skins.
I have attached the following line on the .htaccess file: "AddCharset utf-8 .html .css .php .txt .js" . And people on my hosting company say that there is no problem with apache. In the same domain I have pages (outside of the store folder) that are in portuguese and they accept the special characters.
Offline
west4 wrote:
Hi,
Something somewhere is interpreting your encoding as Windows-1252 or ISO-8859-1
Look in the "View Source" code of your admin page too. Did you change the admin skin admin.php and or skin.php in the SKINS/Core folder to your preferred encoding as they both declare your encoding?
Cheers,
Bruce.
I'm new to php, I don't see the <head> tags on the admin.php, and SKIN/COREMI8/skin.php , where I am suppose to insert the encoding tag?
Offline
webmaster wrote:
Search for ISO-8859-1. It's at the top of the files:
Code:
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
There was no ISO-8859-1, so i put the tag (
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ) before <?php but still no luck.
Offline
webmaster wrote:
Did you ever check encoding on your Apache webserver?
I have attached the following line on the .htaccess file: "AddCharset utf-8 .html .css .php .txt .js" (to put the encoding to portuguese). And people on my hosting company say that there is no problem with apache. In the same domain I have pages (outside of the store folder) that are in portuguese and they accept the special characters.
Offline
When you load your site using a debugger like FireBug for FireFox, does the encoding in the headers show up properly? Are the other pages you referenced encoded in UTF-8 or something else?
Offline
webmaster wrote:
When you load your site using a debugger like FireBug for FireFox, does the encoding in the headers show up properly? Are the other pages you referenced encoded in UTF-8 or something else?
I'm not sure, I'm using joomla... I don't see the tags of encoding on the index.php.
Offline
west4 wrote:
Hi Unet,
Yep you need to change the Joomla default....
Cheers,
Bruce.
Hi Bruce
Can you explain better...
Offline
Hi,
I haven't used joomla for a few years, but I suspect It's a bit beyond this thread, I would google it or use the joomla forums..
How can you change the output encoding for joomla?
If you need your output encoding set to UTF-8 instead of Joomla's default iso-8859-1 just go to your current language file and search for :
DEFINE('_ISO','charset=iso-8859-1');
you can change it to
DEFINE('_ISO','charset=utf-8');
Cheers,
Bruce.
Offline
The thing I don't understand is why should I change anything on joomla encoding when them special characters appear in joomla. I also found a file that has the encoding that I want... ClickCartPro is the software that does not accept special characters.
Offline
webmaster wrote:
So you're not having issues viewing special characters when viewing the online store, just saving them to the database and viewing them in admin?
I'm trying to sell tutorials, I have one part of the site created with joomla that has demos. And I have another part of the web site that is the online store, that is where I have problems displaying the special characters, on the front end of the store and the admin.
Offline