[IronPython] Unable to compare two junk character string in Iron Python.Do I need to include any particular encoding.??
rawatsaurabh at yahoo.co.in
Tue Apr 26 02:56:39 PDT 2011
I have problem while working with text containing the unknown characters
I have a method which compare the variable song with "some special
character string" and return true and false on the match and mismatch
(0)song = The goodgoddevil robzombie pfjsdfgolsdgâ¯â« Ã¡ Ã© Ãº
(1)if song == "The goodgoddevil robzombie pfjsdfgolsdgâ¯â« Ã¡ Ã© Ãº"
it exits as soon as it tries to execute the line (1)
I have go-ogled and found that something like this is to be included
# -*- coding: ascii -*-
But still the same behavior, i think some problem with the coding - encoding standard.
Could plz somebody help.
" The ultimate test of a relationship is to disagree but to hold hands..............."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users