<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Courier, monospace" size="2">
<div>Hi list,</div>
<div> </div>
<div>with your help I got module MonitorCapabilities working yesterday, but I had a problem in detail:</div>
<div> </div>
<div>All my own wms are always recognized as "WMS is not up to date."</div>
<div> </div>
<div>I did several experiments with updating / loading the capabilities in my guis. No effect.</div>
<div> </div>
<div>So I made some debugging. </div>
<div> </div>
<div>In my circumstances the problem and solution is the character encoding (again).</div>
<div> </div>
<div>Changes in class_monitor.php:</div>
<div>=============================</div>
<div>original line 74 $this->localXML = $this->getCapabilitiesDocByWMS($this->wmsId);</div>
<div>my line 74 $this->localXML = utf8_decode($this->getCapabilitiesDocByWMS($this->wmsId));</div>
<div> </div>
<div> </div>
<div>My environment</div>
<div>==============</div>
<div> </div>
<div>- I'm using mapserver (version 5.2.0 I'm testing) as wms server. The delivered capabilities are by default encoded in ISO-8859-1: <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?></div>
<div> </div>
<div>- I'm using postgres-db as mapbender-db. Encoding is UTF-8.</div>
<div> </div>
<div>- My locale settings are:</div>
<div> LANG=de_DE.UTF-8</div>
<div> LC_CTYPE="POSIX"</div>
<div> LC_NUMERIC="POSIX"</div>
<div> LC_TIME="POSIX"</div>
<div> LC_COLLATE="POSIX"</div>
<div> LC_MONETARY="POSIX"</div>
<div> LC_MESSAGES="POSIX"</div>
<div> LC_PAPER="POSIX"</div>
<div> LC_NAME="POSIX"</div>
<div> LC_ADDRESS="POSIX"</div>
<div> LC_TELEPHONE="POSIX"</div>
<div> LC_MEASUREMENT="POSIX"</div>
<div> LC_IDENTIFICATION="POSIX"</div>
<div> LC_ALL=POSIX</div>
<div> </div>
<div> </div>
<div>Solution only for my environment ?</div>
<div>==================================</div>
<div>But I really do not know, what is done in MapBender in detail with encoding characters.</div>
<div> </div>
<div>I don't know, if this solution is only good for my environment. </div>
<div>But it may be a tipp for someone else, who has similar problems or for the developpers to review the code for this prupose.</div>
<div> </div>
<div>greetings</div>
<div>Schönhammer Herbert --> not up to date ;-)</div>
<div> </div>
<div> </div>
<div> </div>
</font>
</body>
</html>