[minor] allow charset of page to be configured