A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1428.htm below:

safe-locale-file-encoding

Description

The function safe-locale-file-encoding is similar to locale-file-encoding except that it always returns a safe external format. That is, the external format does not signal error on writing characters not in the encoding.

On Microsoft Windows, safe-locale-file-encoding consults the ANSI code page. If the code page identifier id is in win32:*latin-1-code-pages*, it merges ef-spec with :latin-1-safe. This external format writes Latin-1 on output, using 63 (ASCII '?') to replace any non-Latin-1 characters that are written. If the code page identifier id is not in win32:*latin-1-code-pages* then safe-locale-file-encoding merges ef-spec with an encoding corresponding to the current code page that uses the code page's replacement code for characters that cannot be encoded.

safe-locale-file-encoding merges ef-spec with :latin-1-safe on Unix.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4