| Home | All functions | Legacy functions | Categories |
vuGlobalsSetCodePage(*CSTRING xPage),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsSetCodePage')
Sets the in-memory CodePage setting used by vuMailKit.
| Parameter | Type | Description |
|—|—|—|
| xPage | *CSTRING | Code page string to store (for example UTF-8). |
1: Success.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
vuGlobalsSave() to persist to registry.| Home | All functions | Legacy functions | Categories |