Fixed #91 add another case of encoding declaration.