<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-7" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This may be so.  However my issue is that url_encoding might have
problems encoding multibyte utf-8 greek characters even if called once.<br>
This may be because url_encoding interpretes its input buffer bytes as
signed characters, and so, characters having the high bit of their high
nibble set (that is 8X, 9X...,FX) are interpreted as negative and thus
< 0x20 and consequently are covnerted to '+' in the first place.
Moreover no special care is taken for multibyte characters whose 1st
byte may be < 0x20 even if positive and as such also converted to
'+'.<br>
<br>
Franky Van Liedekerke wrote:
<blockquote
 cite="mid60567dcc0807110108s76f0219dj229c22cda9545bae@mail.gmail.com"
 type="cite">
  <div dir="ltr">Hi,<br>
  <br>
I can confirm the issue with histogram.cgi (the same is valid for
trends.cgi). The problem lies in the fact that the url_encoding is done
twice, so first spaces get translated to "+", and when you call the cgi
again (for eg. a different timeframe) the "+" gets translated as well,
thus rendering the requested value for the service invalid.<br>
  <br>
Franky<br>
  <br>
  <br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at <a class="moz-txt-link-freetext" href="http://www.sourceforge.net/community/cca08">http://www.sourceforge.net/community/cca08</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; ">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 2.4  (Linux)">
<meta name="CREATED" content="0;0">
<meta name="CHANGED" content="0;0">
<style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin-right: 1.25in; margin-top: 1in; margin-bottom: 1in }
                P { margin-bottom: 0.08in; text-align: left }
                P.western { font-size: 12pt; so-language: el-GR }
                P.cjk { font-size: 12pt; so-language: el-GR }
                P.ctl { font-family: "Times New Roman", serif; font-size: 12pt; so-language: ar-SA }
                A:link { color: #0000ff }
                A.ctl:link { font-family: "Times New Roman", serif }
        -->
        </style><br
 class="western" style="margin-bottom: 0in;">
<font color="#333333"> <font face="Trebuchet MS, sans-serif"> <font
 style="font-size: 11pt;" size="2"><!--               <SPAN LANG="en-GB"> --> <b>Tryfon
Tsatsaros</b>
<!--                 </SPAN> --> </font> </font> </font> <font color="#ff9900"> <font
 face="Trebuchet MS, sans-serif"> <font style="font-size: 11pt;"
 size="2"><!--          <SPAN LANG="en-GB"> --> <b>|</b>
<!--                 </SPAN> --> </font> </font> </font><br class="western"
 style="margin-bottom: 0in;" lang="en-GB">
<font color="#333333"> <font face="Trebuchet MS, sans-serif"> <font
 style="font-size: 11pt;" size="2"> <b>Dr. Software/Electrical Engineer</b>
</font> </font>
<font color="#ff9900"> <font face="Trebuchet MS, sans-serif"> <font
 style="font-size: 11pt;" size="2"><!--               <SPAN LANG="en-GB"> --> <b>|</b>
</font><br class="western" style="margin-bottom: 0in;">
<font color="#ff8000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB"></span></font></font></font><b><font
 color="#ff9900" face="Trebuchet MS" size="3"><span
 style="font-size: 12pt; font-family: "Trebuchet MS"; color: rgb(255, 153, 0); font-weight: bold;"
 lang="EN-GB">S/W & Telecom Applications Department<br>
<br class="western" style="margin-bottom: 0in;" lang="en-GB">
</span></font></b><font color="#333333"><font
 face="Trebuchet MS, sans-serif"><font size="2"><b>INTRALOT S.A.</b></font></font></font>
<br class="western" style="margin-bottom: 0in;">
<font color="#ff8000"> <font face="Trebuchet MS, sans-serif"> <font
 style="font-size: 9pt;" size="2"> <span lang="en-GB">[A]</span> </font>
</font> </font> <font color="#000000"> <font
 face="Trebuchet MS, sans-serif"> <font style="font-size: 9pt;"
 size="2"> <span lang="en-GB"></span> </font> </font> </font> <font
 color="#333333"> <font face="Trebuchet MS, sans-serif"> <font
 style="font-size: 9pt;" size="2"> <span lang="en-GB">64, Kifissias
Ave. & 3, Premetis Str.</span> </font> </font> </font>
<br class="western" style="margin-bottom: 0in;" lang="en-GB">
<font color="#333333">     <font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2">15125
Athens, Greece</font></font></font>
<br class="western" style="margin-bottom: 0in;">
<font color="#ff8000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">[T]</span></font></font></font><font
 color="#000000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB"> </span></font></font></font><font
 color="#333333"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">+
30 210 615 6000</span></font></font></font>
<br>
<font color="#ff8000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">[T Dir]</span></font></font></font><font
 color="#000000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB"> </span></font></font></font><font
 color="#333333"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">+
30 210 667 7954</span></font></font></font>
<br class="western" style="margin-bottom: 0in;">
<font color="#ff8000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">[F]</span></font></font></font><font
 color="#000000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB"> </span></font></font></font><font
 color="#333333"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">+
30 210 667 7180 </span></font></font></font>
<br class="western" style="margin-bottom: 0in;">
<font color="#ff9900"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 9pt;" size="2"><span lang="en-GB">[W]
</span></font></font></font><a class="western"
 href="http://www.intralot.com/"><font color="#ff9900"><font
 face="Trebuchet MS, sans-serif"><font style="font-size: 9pt;" size="2"><span
 lang="en-GB"><u><b>www.intralot.com</b></u></span></font></font></font></a>
</font></font></font>
<p class="western" style="margin-bottom: 0in;"><font color="#333333"><font
 color="#ff9900"><font face="Trebuchet MS, sans-serif"><font
 color="#008000"><img moz-do-not-send="false"
 src="cid:part1.08060901.06080907@intracom.gr" name="graphics1"
 align="bottom" border="0" height="48" width="113"></font></font></font></font></p>
<p class="western" style="margin-top: 0.07in; margin-bottom: 0.07in;"><font
 color="#333333"><font color="#ff9900"><font
 face="Trebuchet MS, sans-serif"><font color="#008000"><img
 moz-do-not-send="false" src="cid:part2.02030608.06050103@intracom.gr"
 alt="Green E-mail Logo" name="graphics1" align="middle" border="0"
 height="35" width="34"></font><font color="#008000">
</font><font color="#008000"><font face="Trebuchet MS, sans-serif"><font
 style="font-size: 8pt;" size="1"><span lang="en-GB">Please
consider the environment before printing this e-mail</span></font></font></font>
</font></font></font></p>
</div>
</body>
</html>