Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Portuguese chars issues


ajgcardoso

Recommended Posts

Hello,

 

I just installed a oscommerce store and a portuguese language module.

 

First I had problems with the desciptions of the products because the portuguese chars were being converted: â, ç, ã. ....

 

I had to change the charset in the portugues.php file to:

 

// charset for web pages and emails

define('CHARSET', 'utf-8');

 

Now the the text inserted via admin panel are ok, but the core text, like titles in boxes are not appearing proplerly, and before my change were ok: Coment�rios and not Comentários.

 

Can you please help to solve this issue?

 

store url: capas-iphone.pt

 

Thanks,

António

Link to comment
Share on other sites

@@ajgcardoso

Oh dude, I had the exact same issue like a couple of days ago, check out the topic I posted, biancoblu gave me the solution to the issue.

http://www.oscommerce.com/forums/topic/388528-french-charset-issue/

 

Basicly, if you chose utf-8, then have all your php files encripted using utf-8 (without BOM), database has to be utf-8.

 

The best way to do it, is to use HTML entities thou, takes a little longer, but it will never fail regardless of your php encoding, database ect.

 

So instead of typing out "Comentários", type in "Comentários" and it will display as "Comentários" no matther what.:

Check out this link for a converter:

http://htmlentities.net/

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...