MAINT charset is deprecated in favor of encoding

closes #2107