Intrinsic function DISPLAY-OF and Environment variable $LANG

0 Likes
over 7 years ago

Problem :

The DISPLAY-OF function with a class national returns an incorrect string.

Solution:

The DISPLAY –OF function uses the value of the environment variable $LANG to define the character encoding of the returned string .

 

Example :

$LANG=en_US.utf8  

DISPLAY-OF   returns   a UTF8 string  

 

$LANG=en_US.iso885915  

DISPLAY-OF   returns   an   ISO   string  

 

Comment List
Anonymous
Related Discussions
Recommended