use global defined constant CHARSET instead of hardcoded values