So, the old version of REFNAME here was not actually valid UTF-8. It was directly embedding the Unicode code points for the composed version of Å but that actually has to be encoded in two bytes of UTF-8 data.