#NEWLINE# @ encoding . setter #NEWLINE# def encoding( self , val ) : #NEWLINE# #INDENT# if ( self is not None ) : #NEWLINE# #INDENT# codecs . lookup ( val ) #NEWLINE# #UNINDENT# self . _encoding = val