#1 #2 read charset from encoding="utf8" for xml, handle spaces between = and inside of utf8
#1 #2 inc version