FIRST OF ALL - Your loadFilter WORKS like a charm, THX A LOT!
Just for better understanding and consequent future use to avoid problems:
I
tried your first proposed solution and actually my data gets masked on php side.
If I dont mask it then it is not displayed at all in combobox - appearance then is a smaller sized blanc row when opening the combobox (u may try "Geschäftsfälle").
For that I use :
Code (sorry dont know how to insert elegantly like your tagged code):
//PHP Code:
while($row = mysqli_fetch_assoc($result))
{
$row['projectid']= $row['ID'];
$row['projectname']=
umlaute($row['NAME']); $row_set[] = $row;
}
function umlaute($text)
{
$returnvalue="";
for($i=0;$i<strlen($text);$i++){
$teil=hexdec(rawurlencode(substr($text, $i, 1)));
if($teil<32||$teil>1114111){
$returnvalue.=substr($text, $i, 1);
}else{
$returnvalue.="&#".$teil.";";
}
}
return $returnvalue;
}
// client/javascript - I use for decoding - which works fine but I just DID NOT COMBINE IT WITH LOADFILTER
function mrrdecode(str)
{
var dummy = document.createElement('textarea');
dummy.innerHTML = str;
return dummy.value;
}
Accordingly if I open the url stated url:'
http://www.rannacher.com/_subdomain/engineers4you/includes/BO/load_existing_projects.php?mandant=HHMZT'
I DONT get any of these special chars, like you printed. FFirst things I tested when debugging. Not in chrome not in IE etc.
Any idea?