<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear friends
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>I face a problem with fonts in a<FONT face=Arial size=2>
mapserver+openlayers application I am developping. </FONT></DIV>
<DIV>I need greek fonts (ISO-8859-7) and the application fails to show them when
it </DIV>
<DIV>retrieves a string from either the template of the wms layer via
OpenLayers.Util.getElement</DIV>
<DIV>request.</DIV>
<DIV> </DIV>
<DIV>Specifically I have defined the following...</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>the .html [openlayer
application] </FONT></DIV>
<DIV><FONT face=Arial
size=2>============================================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><HTML></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><HEAD><TITLE>ΑΤΛΑΝΤΑΣ ΑΚΤΗΣ (ΠΕΠ Κρήτης
2006-08) - Εφαρμογή σε OpenLayers</TITLE><BR><!--Template version
1.02--><LINK href="icons/iacm.css" type=text/css
rel=stylesheet><BR><META http-equiv="Content-Type" content="text/html;
charset=iso-8859-7"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV><FONT face=Arial size=2>
<DIV><BR> map.events.register('click', map, function (e)
{<BR>
OpenLayers.Util.getElement('nodeList').innerHTML = "Ανάκτηση θεματικών
δεδομένων... Παρακαλώ περιμένετε
...";<BR> var
url =
dhmoi_irakliou.getFullRequestString({<BR>
REQUEST:
"GetFeatureInfo",<BR>
EXCEPTIONS:
"application/vnd.ogc.se_xml",<BR>
BBOX:
dhmoi_irakliou.map.getExtent().toBBOX(),<BR>
X:
e.xy.x,<BR>
Y:
e.xy.y,<BR>
INFO_FORMAT:
'text/html',<BR>
QUERY_LAYERS:
dhmoi_irakliou.params.LAYERS,<BR>
WIDTH:
dhmoi_irakliou.map.size.w,<BR>
HEIGHT:
dhmoi_irakliou.map.size.h});<BR>
OpenLayers.loadURL(url, '', this,
setHTML);<BR>
Event.stop(e);<BR> }); </DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV> <div id="nodeList" style="position:absolute; top:520px;
background-color: red; font-size: 10pt;"></div></DIV>
<DIV> </DIV>
<DIV>the .map file</DIV>
<DIV>=======================================================</DIV>
<DIV>...</DIV>
<DIV><BR>WEB<BR> IMAGEPATH "c:/ms4w/apps/ITE/htdocs/tmp/"<BR> IMAGEURL
"/tmp/"<BR> METADATA <BR> "wms_title" "COAST ATLAS SDI WMS
Server (infocharta)"<BR> "wms_onlineresource" "<A
href="">http://localhost/cgi-bin/mapserv.exe</A>?"<BR>
"wms_feature_info_mime_type" "text/html"<BR> "wms_srs"
"EPSG:4326" <BR> "wms_encoding" "ISO-8859-7" #Greek
fonts<BR> END<BR>END</DIV>
<DIV>...</DIV>
<DIV> LAYER<BR> NAME
'dhmoi_irakliou'<BR> TYPE POLYGON<BR> DATA
'C:\ITE_DATA\sdi_data\infocharta\dhmoi_irakliou.shp'<BR>
METADATA<BR> 'wms_title'
'dhmoi_irakliou'<BR> END<BR> STATUS
OFF<BR> PROJECTION<BR>
"init=epsg:2100"<BR> END<BR>
CLASS<BR> TEMPLATE
"c:/ms4w/Apache/htdocs/test/dhmoi_irakliou.html"<BR>
NAME 'dhmoi_irakliou'<BR>
STYLE<BR> OUTLINECOLOR 0 0
0<BR> COLOR -1 -1
-1<BR> END<BR>
END<BR> END</DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV>the template file
("c:/ms4w/Apache/htdocs/test/dhmoi_irakliou.html")</DIV>
<DIV>==========================================================</DIV>
<DIV> </DIV>
<DIV><HTML><BR><HEAD><BR><META http-equiv="Content-Type"
content="text/html; charset=iso-8859-7"><BR></HEAD></DIV>
<DIV> </DIV>
<DIV><a href="<A
href="">http://localhost/cgi-bin/mapserver.exe?mode=indexquerymap&qlayer=dhmoi_irakliou&shapeindex=[shpidx]&shpext=[shpext_esc]&mapext=shape&map=[map</A>]"><BR></a><BR>***ελληνικό
κείμενο***: [NAMF_GR],.., [POP_01] </DIV>
<DIV> </DIV>
<DIV></HTML></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>============================</DIV>
<DIV> </DIV>
<DIV>the [NAMF_GR] is an attribute in greek - however the applications
fails to type it in greek (little squares are shown instead). The
[POP_01]</DIV>
<DIV>is a number and it's shown correctly. The "***ελληνικό κείμενο***:" is a
text in greek and it isn't shown either. </DIV>
<DIV> </DIV>
<DIV>Should you have any suggestion please let me know</DIV>
<DIV> </DIV>
<DIV>Thanks in advance and seasong greetings!</DIV>
<DIV> </DIV>
<DIV>Emmanuel.</DIV>
<DIV> </DIV></FONT></FONT></DIV></BODY></HTML>