docs

Home All functions Legacy functions Categories

vuGlobalsSetCodePage()

Clarion prototype

Prototype: 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

| Value | Meaning | |—|—| | 1 | Success. |

Example (Clarion)

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