中文亂碼問題可以參考http://forums.ocsinventory-ng.org/viewtopic.php?id=9624
以下方法確認對2.0.2 有效,且可以看到Win7_x64的序號,不過OS name 還是會有亂碼,但是已經好很多了
------------------------------------------------------------------------------------------
On "require/function_table_html.php" line 1336
change
$htmlentities=true;
to
$htmlentities=false;
And on "require/function_machine.php" line 109
comment line
$value=htmlentities($value);
------------------------------------------------------------------------------------------
(測試環境是用CentOS 5.7架的vm,官方就有架好的vm ,
http://www.ocsinventory-ng.org/en/download/download-server.html)
另一種方法我用了還未成功過,不過有人說此法有效
------------------------------------------------------------------------------------------
In your OCS directory (like "/usr/share/ocsinventory-reports/ocsreports") and below : search all .php files contains "htmlentities("
replace all
"htmlentities($*);"
to
"htmlentities($*,ENT_COMPAT | ENT_HTML401,"UTF-8");"
------------------------------------------------------------------------------------------