AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: ewgeny on March 08, 2016, 07:18:35 AM

Title: Changing character encodin type
Post by: ewgeny on March 08, 2016, 07:18:35 AM
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?
Title: Re: Changing character encodin type
Post by: abolabo on March 09, 2016, 04:42:17 AM
hmm.. i think it's a bad idea.. please clarify what you want to do? what's the aim?
Title: Re: Changing character encodin type
Post by: ewgeny on March 09, 2016, 09:31:17 AM
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.
Title: Re: Changing character encodin type
Post by: 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?
Title: Re: Changing character encodin type
Post by: ewgeny on March 10, 2016, 02:27:17 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
Title: Re: Changing character encodin type
Post by: abolabo on March 10, 2016, 05:08:43 AM
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.