charset improvement
add patterns/templates support