The people behind mootools have put together a speed/validity test to compare the speed of CSS3 selectors in the most popular javascript libraries. Great job, but too bad to find out that jQuery is at the slower part of the line up...
Using HTML entities is the right way to ensure all the characters on your page are validated. However, often finding the right entity code requires scanning through 250 rows of characters.