Overriding the default code page

In some cases, you might need to convert data to or from a code page that differs from the code page that is in effect at run time. To do so, convert the item by using a conversion function in which you explicitly specify the code page.

About this task

If you specify a code page as an argument to the DISPLAY-OF intrinsic function, and the code page differs from the code page that is in effect at run time, do not use the function result in any operations that involve implicit conversion (such as an assignment to, or comparison with, a national data item). Such operations assume the runtime code page.