note encoding used by lib and set charset explicitly