test encoding of tag
more doc
new code from kosh