Extract the local charset constants into a global one