Logo Search packages:      
Sourcecode: zope-coreblog2 version File versions  Download package

def COREBlog2::COREBlogTool::COREBlog2Tool::guess_encode (   self,
  s 
)

Guess encodings.
possible_encodings should be set in conf file.

Definition at line 192 of file COREBlogTool.py.

                                     :
            try:
                unicode(s,enc)
                guessed_enc = enc
                break;
            except:
                pass
        return guessed_enc

    security.declarePublic('convert_charcode')
    def convert_charcode(self,s,fromcodestr=""):
        """


Generated by  Doxygen 1.6.0   Back to index