# File lib/hpricot/xchar.rb, line 87
    def uxs(str)
      str.to_s.
          gsub(/\&\w+;/) { |x| (XChar::PREDEFINED_U[x] || ??).chr }.
          gsub(/\&\#(\d+);/) { [$1.to_i].pack("U*") }
    end