This function produces a list of all character set names and aliases
      known to Virtuoso. The returned value is an array
      of strings with a character set name as each element.
      If the gen_res_set flag is 1, the function also
      produces a result set in which each row contains one varchar column with
      a name of a character set or alias.