News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Changing character encodin type

Started by ewgeny, March 08, 2016, 07:18:35 AM

Previous topic - Next topic

ewgeny

Hi, I want to change encoding type. Defult is UTF-8, but my site is in cyrilic, and I need a windows-1251.
I tried with changing it in laguages -> edit language details but, still SEO analises find the page as UTF-8 encoding. Someone know other way to change?

abolabo

hmm.. i think it's a bad idea.. please clarify what you want to do? what's the aim?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

ewgeny

Some pages, appears like this: "b-clima[dot]com/%D0%BA%D0%BB%D0%B8%D0%BC%D0%B0%D1%82%D0%B8%D1%86%D0%B8-samsung", where %** is a cyrilic symbol , and I want to try if changing character encoding will help.

abolabo

it's a url-encoded symbols, it's not related to charset of webpage.
i guess you should to check collation of your database. it must be utf8_general_ci. Also check you data inside table url_aliases. is it cyrrilic?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

ewgeny

Quote from: abolabo on March 09, 2016, 10:28:52 AM
it's a url-encoded symbols, it's not related to charset of webpage.
i guess you should to check collation of your database. it must be utf8_general_ci. Also check you data inside table url_aliases. is it cyrrilic?

Yes, collation is utf8_general_ci
Data in url_aliases is in cyrilic and it's readable

abolabo

well..
i think you confused by cyrillic url and web-page charset encoding. Abantecart use UTF-8 as charset encoding. But url with cyrillic seo-keyword use base64 encoding, that used by http-protocol.
Your browser convert it on-the-fly and shows it correctly, for ex. http://****.com/климатици-хитачи-варна-японски-хиперинвертор-стенен
but in base64 it will be as http://****.com/%D0%BA%D0%BB%D0%B8%D0%BC%D0%B0%D1%82%D0%B8%D1%86%D0%B8-%D1%85%D0%B8%D1%82%D0%B0%D1%87%D0%B8-%D0%B2%D0%B0%D1%80%D0%BD%D0%B0-%D1%8F%D0%BF%D0%BE%D0%BD%D1%81%D0%BA%D0%B8-%D1%85%D0%B8%D0%BF%D0%B5%D1%80%D0%B8%D0%BD%D0%B2%D0%B5%D1%80%D1%82%D0%BE%D1%80-%D1%81%D1%82%D0%B5%D0%BD%D0%B5%D0%BD

I am not sure that all search engines can understand it as a word. Also I think it's not an abantecart issue. It related to analyzing of search engines of your site urls.

P.S. Most of seo-site suggests to use only latin characters for seo-keywords.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -