You are here: Multilingual Application Design > 6. Tips and Techniques > 6.10 Multilingual Text Handling > 6.10.7 Literals in RDML

6.10.7 Literals in RDML

Don't use literals in RDML/RDMLX code. Use Multilingual Variables (MTXTs) so that VARIANT characters are correctly converted to the CCSID that will be used at execution time. For example, @ is a variant character, therefore it should be in an MTXT.

Clearly, an issue will not be present if the literal in question is invariant in the languages used by the application. But let's say that the literal contains the @ character. If the application currently used US English (037) and Canadian French (500) then the @character is invariant. But, if French French (297) was added to the application, the @ character would now be variant. If this was compiled with US English as the Design View Language, then French French would not display the @ correctly.