unicode encoding and decoding in python how to encode and decode text characters