This code looks fine. Have you tried w/ the actual BOM bytes as well? We may as well be sure to handle both.
Also... has anyone seen this particular behavior before re: BOMs (escaped BOM chars)? It's not clear to me if this is standard behavior. I don't see any particular problem supporting it in any case however. http://codereview.appspot.com/217102/show
