Refine the method documentation and implement the selection of charset (wip)