A.57 library(url): Analysing and constructing URL
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(url): Analysing and constructing URL
          • global_url/3
          • is_absolute_url/1
          • http_location/2
          • parse_url/2
          • parse_url/3
          • www_form_encode/2
          • set_url_encoding/2
          • url_iri/2
          • parse_url_search/2
          • file_name_to_url/2
    • Packages
Availability::- use_module(library(url)).(can be autoloaded)
Source[semidet]set_url_encoding(?Old, +New)
Query and set the encoding for URLs. The default is utf8. The only other defined value is iso_latin_1.
To be done
Having a global flag is highly inconvenient, but a work-around for old sites using ISO Latin 1 encoding.