Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with encoding on some webpages, not all website


edward24

Recommended Posts

Hi 
Have several problems on some webpages parts(menu in header).When change language form example from polish to russian, on index page all looks perfect.But when switch to login pahe menu in header has bad encoding, at the same time rest of webpage is good encoding in russian.Where is the problem , that at one page i have good encoding, but at another its bad.Thanks for help.With best regards, Edward.

Link to comment
Share on other sites

It's difficult to tell what's going on without having something to look at. Could you give us some page links illustrating the problem you're seeing? If we need to click on this or that to show the problem, give those instructions. At worst, screen images would be better than nothing. Also, what version of osC, what add-ons, and what PHP version? Since Polish is a Latin-based script and Russian is Cyrillic, we should be able to tell what's in Polish and what's in Russian. Has your host made any changes lately (around the time the problems started showing up)? Was it working correctly before and suddenly broke, or did you make changes and you can't get them working?

 

When you say "bad encoding", are you trying to show both languages at once on the same page, or is it all Polish or all Russian? Is just part of the text incorrect? Are you seeing multiple Latin characters where you expect one accented character or one Cyrillic character? That would indicate that you have UTF-8 text data but the page is displaying in Latin-1 or some other single byte encoding. If you are seeing ?-in-black-diamond glyphs, that means your text data is a single byte encoding (ISO-8859-x) but you're trying to display it in UTF-8. Plain ?'s could mean that you're trying to pull Latin-1 accented data out of a database configured to be UTF-8.

Link to comment
Share on other sites

i had problems with some forms on my site, having to specifically set accept character encoding as a tag in the form for utf8

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...