FIX-CODEPAGE statement
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Sets the code page of an empty LONGCHAR variable. When set to a valid code page, the code page of the specified variable is fixed and overrides any default behavior in assignment operations (including the COPY-LOB, OVERLAY, and SUBSTRING statements).
Syntax
|
- longchar
- The name of a LONGCHAR variable. The variable must be set to
the Unknown value (
?) or the empty string (""). If the string length is greater than 0, the AVM returns an error. - codepage
- A character expression that evaluates to the name of a code
page. The name you specify must be a valid code page name available
in DLC/convmap.cp. If codepage is
the Unknown value (
?), the code page of the LONGCHAR variable is not fixed.