added default charset for memento