implemented AutoEncoder for various character encode
implemented AutoEncoder for various character encode