uniconv()

Function group Execute on client Platform(s)
Unicode NO All

Syntax

uniconv(srctype,src,dsttype,dst,bom,errtxt)

Description

Converts src to dst. Returns zero if ok, or errcode and errtxt. Types are kUniType... constants (not binary). If Boolean Bom is true, dst has a Unicode BOM if it can.

You can handle CR, LF and TAB characters using the following sys() functions:

sys() Description
218 Modifies the OEM character conversion table to leave CR and LF unchanged.
219 Restores the OEM character conversion table to the original mappings for CR and LF.
228 Modifies the OEM character conversion table to leave TAB unchanged.
229 Restores the OEM character conversion table to the original mapping for TAB.