Coronita

Announcement
htld


Selene

Announcement


Malete

DownLoad
Status
OverView
Usage
Structures
Protocol
Query
MultiProcess


formats

FileFormats
character sets
... and converting
CDS/ISIS
IIF/ISO2709


misc

changes from earlier versions
tag numbers


drafts (partly obsolete)

MetaData
object model
Tcl
Converting
converting between character sets
overview

Since Malete can represent both record and index data as plain text files, standard tools like recode or iconv can be used for character set conversion.
This can also be used to convert WinIsis or wwwisis files via cds import/export.

example

To convert the standard WinIsis cds database to malete as is, without any character set conversion, use
malete cdsimp -No850 cds

Create a textual representation of the index by
malete qdump cds >cds.mqt

Convert the textfiles to UTF-8 with
iconv -f CP850 -t UTF-8 <cds.mrd >cds.mrd-u
iconv -f CP850 -t UTF-8 <cds.mqt >cds.mqt-u

Replace the Malete database with the UTF-8 files
rm cds.mq? cds.mr?
mv cds.mrd-u cds.mrd
malete qload cds <cds.mqt-u




notes

Conversions that do not change the byte count like for example codepage 850 to Latin-1 can also be applied to IIF (ISO 2709) files.
This will not work for conversions like codepage 850 to UTF-8 which change the length of data.