Next: , Previous: , Up: Shapefile   [Contents][Index]


1.4 cpg - Codepage

Module (shapefile cpg).

The codepage for the dbf file.

Function: parse-cpg-file port

Reads name of a codepage from port, and resolves it with resolve-codepage. Returns a (rnrs io ports) transcoder.

Function: resolve-codepage name

Returns a (rnrs io ports) transcoder.

Checks if string name contains “ISO 8859”, “UTF 16”, or “UTF 8”, and returns transcoder depending on its finds. Defaults to Latin-1.