Update to current version of spec. Add in hex escapes.
I think that that covers the only needed change for this to comply
with the latest version of the spec.