<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hmm..you mean to say # -*- coding: utf-8-*- like this..will give it a try..i have actually but no success or may be I am missing the correct way to specify it.<br>Thanks and Rgds,<br>Saurabh<br><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ff0000" face="arial black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></div>  <div><font color="#ff0000" face="arial black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#2d2d2d"> <font size="3">" <font size="2"><font face="comic sans ms" size="5"><em><strong>The ultimate test of a relationship is to disagree but to hold hands</strong>............</em></font>...</font></font>"&nbsp;</font></font></div>  <div><font
 color="#2d2d2d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></div>  <div><font color="#2d2d2d"></font>&nbsp;</div><br><br>--- On <b>Tue, 26/4/11, Lukas Cenovsky <i>&lt;cenovsky@bakalari.cz&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Lukas Cenovsky &lt;cenovsky@bakalari.cz&gt;<br>Subject: Re: [IronPython] Unable to compare two junk character string in Iron Python.Do I need to include any particular encoding.??<br>To: "Discussion of IronPython" &lt;users@lists.ironpython.com&gt;<br>Date: Tuesday, 26 April, 2011, 4:46 PM<br><br><div id="yiv665419397">

  
    
  You should use the same encoding as has you special character
    string.<br>
    Have you tried using utf-8 instead of ascii?<br>
    <br>
    --<br>
    -- Lukáš<br>
    <br>
    <br>
    On 26.4.2011 11:56, saurabh rawat wrote:
    <blockquote type="cite">
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td style="font: inherit;" valign="top"><br>
              HI, <br>
              I have problem while working with text containing the
              unknown characters<br>
              I have a method which compare the variable song with "some
              special character string"&nbsp; and return true and false on
              the match and mismatch respectively.<br>
              <br>
              example<br>
              <br>
              (0)song = The goodgoddevil robzombie pfjsdfgolsdgâ¯â« Ã¡
              Ã© Ãº<br>
              (1)if song == "The goodgoddevil robzombie
              pfjsdfgolsdgâ¯â« Ã¡ Ã© Ãº"<br>
              <br>
              it exits as soon as it tries to execute the line (1) <br>
              <br>
              <br>
              I have go-ogled and found that something like this is to
              be&nbsp; included<br>
              #!/usr/bin/python<br>
              # -*- coding: ascii -*-<br>
              <br>
              But still the same behavior, i think some problem with the
              coding - encoding standard.<br>
              Could plz somebody help.<br>
              <br>
              Rgds,<br>
              Saurabh<br>
              <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ff0000" face="arial black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </font></div>
              <div><font color="#ff0000" face="arial black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#2d2d2d"> <font size="3">" <font size="2"><font face="comic sans ms" size="5"><em><strong>The
                              ultimate test of a relationship is to
                              disagree but to hold hands</strong>............</em></font>...</font></font>"&nbsp;</font></font></div>
              <div><font color="#2d2d2d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></div>
              <div>&nbsp;</div>
            </td>
          </tr>
        </tbody>
      </table>
      <pre><fieldset class="yiv665419397mimeAttachmentHeader"></fieldset><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" class="yiv665419397moz-txt-link-abbreviated" ymailto="mailto:Users@lists.ironpython.com" target="_blank" href="/mc/compose?to=Users@lists.ironpython.com">Users@lists.ironpython.com</a><br><a rel="nofollow" class="yiv665419397moz-txt-link-freetext" target="_blank" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br></pre>
    </blockquote>
  
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.ironpython.com" href="/mc/compose?to=Users@lists.ironpython.com">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br></div></blockquote></td></tr></table>