added charset to index