keep charset of array keys