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
- Legacy alias: vuSetCodePage().
- This updates runtime memory only; call vuGlobalsSave() to persist to registry.
- AuthMode/OAuth is not used by this function.