docs

Home All functions Legacy functions Categories

vuGlobalsSetCodePage()

vuGlobalsSetCodePage(*CSTRING xPage),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsSetCodePage')

Purpose

Sets the in-memory CodePage setting used by vuMailKit.

Parameters

| Parameter | Type | Description | |—|—|—| | xPage | *CSTRING | Code page string to store (for example UTF-8). |

Return value / error codes

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuGlobalsSetCodePage(*CSTRING xPage),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsSetCodePage')
  END
END

rc       LONG
cpValue  CSTRING(32)

cpValue = 'UTF-8'
rc = vuGlobalsSetCodePage(cpValue)
IF rc <> 1
  MESSAGE('vuGlobalsSetCodePage failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories