News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Encoding problems

Started by Jordison, February 10, 2016, 17:37:20 PM

Previous topic - Next topic

Jordison

How can i repair it?

jjk

First I would suggest to download the lastest Russian translation from here: http://virtuemart.net/community/translations
and install the two Russian language packs again with the Joomla installer.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison

ready, nothing has changed, in appearance characters know that this is a problem display of UTF- 8 with windows 1252, but i don`t know how i can repair it

jjk

#3
And what happens if you set the 'Text Encoding' in your browser to Unicode? In most browsers it's selectable from the menu bar.
Also you can check with phpmyadmin if your database tables are set to utf8_general_ci. If you find other encodings, phpmyadmin allows to change it.
Another option you may try is to set in Joomla "Global Configuration > Unicode Aliases > Yes.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison

#4
I checked everything that you advised, phpmyadmin is set to utf8_general_ci, browser encoding was unicode already, also made a Unicode aliases, but nothing has changed, i have this problem only in virtue mart administrator control panel where i want look any tip.

jjk

If you turn on Joomla 'Debug' and 'Debug Language', does it display language parsing errors in the Debug list at the bottom of the page with your encoding problem?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison

Joomla debug responds that no errors in language files.

Jordison

This mistake appears when i want display tip in virtue mart it show me tip which was originally encoded in unicode but displayed in windows-1252, browser, php is set unicode.

jjk

I couldn't reproduce your issue with VM 3.0.12 and VM 3.0.13. In my case the tooltips display is correct. See screenshot below.
Did you configure Russian as a content language in Joomla Extensions > Language(s) > Content Languages?
What does the message with the sand-colored background translate to in English?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison

sand message mean that i hav`nt ru-RU flag in content languages, i configure Russian as a content language, sand message disappeared but i still see that mistake. Intresting moment, some fields when i want to see tip show correctly but most fields still incorrectly. If you can`t reproduce my issue i think that i am probably don`t set some settings.
/////////////////

jjk

Which php version do you have? (in Joomla have look at 'System' > 'System Information')
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison


jjk

#12
It's a shot in the dark, but maybe an update to PHP 5.4 or higher would help. See here: http://php.net/manual/ru/function.htmlspecialchars.php
In the article it says ..."PHP 5.4 and 5.5 will use UTF-8 as the default. Earlier versions of PHP use ISO-8859-1. "
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jordison

Thank you for helping, it was php version, problem solved)