View Full Version : Text changes to ??????????
Why the texts are displaying as ?????????? I'm using utf-8 text and vivvo 4.0.2. When I insert a text its stores as ?????????. How can I fix it? Thanks in advance
utvara
12-16-2007, 01:58 AM
Please contact our support staff trough helpdesk on this mater.
I did. Its 4th day and not resolved yet.
shketuljko
12-19-2007, 09:23 AM
Sorry but as you know we are working on your problem all these days.
We are sending questions to you so we can locate and solve problem.
maithily
12-22-2007, 12:36 AM
Hi RAN, I too faced this problem but I modifed vivvo_framework.php and now my site are working smoothly with UTF-8 encloding.
Are you still facing this problem? inform me.
BAVARAC
12-23-2007, 12:34 AM
Hmm i get this error, what i must change?
maithily
12-23-2007, 02:31 AM
I get this "????" when i type "čćšđ" why?
Find vivvo_framework.php file in following directory
\lib\vivvo\framework
find following lines
if (defined('VIVVO_FORCE_NAMES_UTF8') || version_compare(PHP_VERSION, '5.2.0', '>=')){
$this->_db->query('SET NAMES utf8;');
$this->_db->query('SET CHARACTER SET utf8;');
replace it with
if (version_compare(PHP_VERSION, '5.2.0', '>=')){
//$this->_db->query('SET NAMES utf8;');
//$this->_db->query('SET CHARACTER SET utf8;');
I have done it and now my website working fine with utf encoding.
maithily
maithily you are genius man .. ;)
shketuljko
12-24-2007, 08:22 AM
Exactly you need to change conf.php file because freamework shouldn't be change.
(If you have PHP 5.1.x and older version)
In conf.php you need to define two constant:
define('VIVVO_FORCE_NAMES_UTF8',0);
define('VIVVO_FORCE_USE_COLLATE',0);
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.