Initial Value Segment No Convert (-isnoconv)
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Use Initial Value Segment No Convert (-isnoconv)
to disable a code page conversion that Version 9.1A provides and
that previous versions do not.
| Operating system and syntax | UNIX / Windows |
-isnoconv
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | — | — |
Consider using -isnoconv when
all of the following conditions occur:
- An ABL program contains character variables initialized from text literals.
- The text literals contain international characters (whether
or not the literal is flagged as untranslatable using the
:Uattribute). - The code page of the r-code (
-cprcodein) does not match the code page of internal memory (-cpinternal). - This is a compile-time option, not a run-time option, and affects the generation of r-code, not its execution.
When you
run earlier versions of OpenEdge under these conditions, and the
AVM reads text literals from r-code into internal memory, it does
not convert the code page. To compensate for this, programmers often
pre-convert international characters in text literals to -cpinternal.
However, when you run OpenEdge under these conditions, and the AVM reads
text literals from r-code into internal memory, it converts the code page from -cprcodein to -cpinternal. This
code page conversion might cause international characters you have pre-converted to -cpinternal to be converted again to -cpinternal, which garbles them.