Test non-ASCII chars for attrs & contents as well
Python 2.6 has no fromstringlist() function