docs

Home All functions Legacy functions Categories

vuSetCodePage()

Clarion prototype

Prototype: vuSetCodePage(*CSTRING InCodePage), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSetCodePage’)

Description

This is the legacy vuMail function name.

Preferred function name:

This function is exported for backward compatibility and behaves identically to vuGlobalsSetCodePage().

Important: this is a legacy compatibility setting. It does not replace the current recommendation that external body files containing accented or international characters should be saved as UTF-8.

Example (Clarion)

rc       LONG
codePage CSTRING(64)

codePage = 'UTF-8'
rc = vuSetCodePage(codePage)

IF rc = 0
  MESSAGE('Code page was not accepted: ' & vuMailLastError())
END
Home All functions Legacy functions Categories