You are not logged in.
Hello all,
i finally upgraded GLPI from 0.72.21 to 0.78.1. Unfortunately the software or any other component is not imported in UTF8 format from OCS-NG anymore. This behaviour does not depend on OCS-NG version as it is the same from 1.02 and 1.32.
Under GLPI 0.72.21 i set $this->dbenc="latin1" to $this->dbenc="utf8" in inc/ocsng.class.php and it was working without any problem.
I did not find any setting like this in 0.78.1 as it completely changed.
Please help!
Best regards, Steffens.
Sorry, please move it to englisch forum, thank you.
OK i finally got it and it is working so you can close!
It is in dbmysql.class.php
function __construct($ID) {
global $CFG_GLPI;
$this->ocsservers_id = $ID;
if ($CFG_GLPI["use_ocs_mode"]) {
$data = OcsServer::getConfig($ID);
$this->dbhost = $data["ocs_db_host"];
$this->dbuser = $data["ocs_db_user"];
$this->dbpassword = rawurldecode($data["ocs_db_passwd"]);
$this->dbdefault = $data["ocs_db_name"];
$this->dbenc="utf8";
parent::__construct();
}
}
/**
* Get current ocs server ID
* @return ID of the ocs server ID
**/
Last edited by steffens (2010-12-01 18:34:51)
OS : Ubuntu 8.04.4 tls on VSphere server
OCS-NG : OCS-NG 2.0 / UTF8
GLPI Productive : 0.80.2 with AD NTLMv1/2 SSO authentication
Offline