A.35 library(portray_text): Portray text
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(portray_text): Portray text
          • portray_text/1
          • set_portray_text/2
          • set_portray_text/3
          • is_text_code/1
    • Packages
Availability::- use_module(library(portray_text)).
Source[semidet,multifile]is_text_code(+Code:nonneg)
Multifile hook that can be used to extend the set of character codes that is recognised as likely text. By default, is_text_code/1 fails everywhere and internally, only non-control ASCII characters (32-126) and the the control codes (9,10,13) are accepted.
To be done
we might be able to use the current locale to include the appropriate code page. (Does that really make sense?)