use standard global variables for charset and language