Set head->meta->charset when serializing
Merge pull request #1 from CodeFridge/feature/meta_encoding

Set head->meta->charset when serializing