Hi,
I have some issues with Cyrillic support. When I enter a new title for let's say terms of use, in Cyrillic, I get the following error and cannot move forward:
* Information Title must be greater than 3 and less than 64 characters!
Any ideas how to correct it?
Also, when I put the products with descriptions in English and in Bulgarian, I don't get the same products in the different language version of the catalog. Please help.
I have some issues with Cyrillic support. When I enter a new title for let's say terms of use, in Cyrillic, I get the following error and cannot move forward:
* Information Title must be greater than 3 and less than 64 characters!
Any ideas how to correct it?
Also, when I put the products with descriptions in English and in Bulgarian, I don't get the same products in the different language version of the catalog. Please help.
I'm not sure how to solve this problem. I have little experiance with multiple languages. I have been leaving the character set change to scandic.petpetep wrote: this problem is when we wrote something in cyrillic for example admin-catalog-localization-currency and code is in cyrillic ...
OpenCart®
Project Owner & Developer.
i think that the problems comes with this that not all opencart is avaliable in other languages and when we use something in english all is ok, but when other language ....
this with thing with minimum 3 characters i found a decision in notepad ++
wrote this thing in utf format and than choose ansi
-> copy + past 
this with thing with minimum 3 characters i found a decision in notepad ++



BG
Отвори library/database/database.php
Търси:
Замени го с:
Мисля че проблемът ти ще се реши.
ENG:
Open up library/database/database.php
Search for:
And change it to:
I thing that this is your problem.
Good luck
Отвори library/database/database.php
Търси:
Code: Select all
mysql_query("set character set utf8");
Code: Select all
mysql_query("set character set cp1251");
ENG:
Open up library/database/database.php
Search for:
Code: Select all
mysql_query("set character set utf8");
Code: Select all
mysql_query("set character set cp1251");
Good luck

ами проблема се оказа доста странен, аз си го реших, но се оказа, че утф-а на кирилица приема по-малко кирилски букви от латинските
от настройките за ограничение на броя символи промених горната граница.
още не съм сигурен дали да не променя изобщо кодировката в следващите версии

още не съм сигурен дали да не променя изобщо кодировката в следващите версии
UTF-8 is a variable length encoding, ranging from 1 to 4 bytes per char. US ASCII chars takes one, accented or special character from Western and Eastern European needs 2 bytes per char, Cyrillic, Greek and Turkic chars also. Therefore the limit of 64 characters means 32 if you use Cyrillic (if we don't count spaces and punctuation, which are the same as the US ASCII ones, and actually uses only one byte).
I recommend increasing the length of the varchar fields, and continuing with UTF8, which can solve you a lot of issues if you whant to go multilanguage some day.
In all versions of MySQL above 4.1 this is solved, and varchar(n) means n characters in the selected encoding, not n bytes.
I recommend increasing the length of the varchar fields, and continuing with UTF8, which can solve you a lot of issues if you whant to go multilanguage some day.
In all versions of MySQL above 4.1 this is solved, and varchar(n) means n characters in the selected encoding, not n bytes.
Who is online
Users browsing this forum: No registered users and 4 guests