# File lib/addressable/uri.rb, line 1892
    def normalized_fragment
      @normalized_fragment ||= (begin
        if self.fragment
          Addressable::URI.encode_component(
            Addressable::IDNA.unicode_normalize_kc(
              Addressable::URI.unencode_component(self.fragment.strip)),
            Addressable::URI::CharacterClasses::FRAGMENT
          )
        else
          nil
        end
      end)
    end