Hi Leute,
hab leider nichts passendes zu dem Thema gefunden und mich selbst ans Werk gemacht.
Hatte chinesische Zeichen welche er mir nicht wirklich so anzeigte, wie sie dargestellt werden sollten. UTF8 war und ist alles richtig eingestellt. Folgende Änderung wurde dann von mir am Code vorgenommen und so funktionierts: utf8_decode() in class.tx_macinasearchbox_pi1.php
function main($content,$conf) {
$this->conf=$conf;
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
// get the template
$this->templateCode = $this->cObj->fileResource($this->conf["templateFile"]);
// get main subpart
$templateMarker = "###TEMPLATE###";
$template = array();
$template = $this->cObj->getSubpart($this->templateCode, $templateMarker);
// create the content by replacing the marker in the template
$markerArray = array();
$markerArray["###HEADLINE###"] = $this->pi_getLL('headline');
$markerArray["###ADVANCED###"] = '<a href="'.$this->pi_getPageLink($this->conf['pidSearchpage'],"_self",array("tx_indexedsearch[ext]" => 1, "L" => $GLOBALS["TSFE"]->sys_language_uid)).'">'.utf8_decode($this->pi_getLL('advanced')).'</a>';
$markerArray["###SUBMIT###"] = utf8_decode($this->pi_getLL('submit'));
$markerArray["###ACTLANG###"] = $GLOBALS["TSFE"]->sys_language_uid;
$markerArray["###SEARCHPID###"] = $this->pi_getPageLink($this->conf['pidSearchpage'],"_self",array("L" => $GLOBALS["TSFE"]->sys_language_uid));
// buid content from template + array
$content = $this->cObj->substituteMarkerArrayCached($template, array(), $markerArray , array());
return $this->pi_wrapInBaseClass($content);
}
Vielleicht hilfts ja jemandem weiter. 😉