[root@an3 x86_64]$ alias u
alias u='shopt -s nocasematch; [[ "$LANG" =~ \.utf[-]?8$ ]] && [ "$OLD_LANG" != "$CONVERSION_LANG" ] && OLD_LANG="${CONVERSION_LANG}" ; [[ "$LANG" =~ \.utf[-]?8$ ]] && NEW_LANG="${OLD_LANG:=${CONVERSION_LANG}}" || NEW_LANG="${LANG%%.*}.UTF-8"; export OLD_LANG="$LANG" && export LANG="$NEW_LANG" && export USER_LANG="$NEW_LANG" && export LC_ALL="$NEW_LANG"; echo "Changed system charset to {${LANG}}"; shopt -u nocasematch'
[root@an3 x86_64]$ cat /etc/sysconfig/utf8-profile
# Locale conversion configuration
#
# /etc/profile.d/utf8.sh
# conversion between UTF-8 and CONVERSION_LANG
#
CONVERSION_LANG="ko_KR.eucKR"
[root@an3 x86_64]$ u
Changed system charset to {ko_KR.eucKR}
[root@an3 x86_64]$ echo $LANG
ko_KR.eucKR
[root@an3 x86_64]$ u
Changed system charset to {ko_KR.UTF-8}
[root@an3 x86_64]$ echo $LANG
ko_KR.UTF-8