From 1dd0e63f1785a0e14f9ed19b0d35dde21f5102d5 Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 6 Jan 2004 18:03:14 +0000 Subject: [PATCH] Some adjustments for UTF-8 (RH 9). --- .zshenv | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.zshenv b/.zshenv index 2d819c6..7f0bbf9 100644 --- a/.zshenv +++ b/.zshenv @@ -26,7 +26,6 @@ HISTFILE=~/.zhistory REPORTTIME=1 TMOUT=0 export PGPPATH=~/.pgp -export LESSCHARSET=latin1 export PARINIT=q1 export PARBODY=_A_a @@ -113,10 +112,22 @@ HP-UX*10.*) ;; Linux*) export LC_COLLATE=POSIX - export LC_TIME=de_AT + # export LC_TIME=de_AT # don't remember what that was for ;; esac -export NLS_LANG=american_america.WE8ISO8859P1 + +case "$LANG" in +*.iso88591) + export LESSCHARSET=latin1 + export NLS_LANG=american_america.WE8ISO8859P1 + ;; +*.UTF-8) + #export LESSCHARSET=latin1 + export NLS_LANG=american_america.UTF8 + # export LC_TIME=de_AT.UTF-8 + ;; +esac + export NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS' @@ -210,7 +221,7 @@ case "$FQDN" in enkur.wsr.ac.at) export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/local/mnemonic/lib:/usr/local/mnemonic/lib/msg:/usr/local/lib ;; - melange.wsr.ac.at|spirit.luga.at|chthon.h.hjp.at|posbi.wsr.ac.at|wsrgeh.wsr.ac.at|braveheart.wsr.ac.at|dialog.wsr.ac.at|samkar.wsr.ac.at|yoyo.hjp.at) + melange.wsr.ac.at|spirit.luga.at|chthon.h.hjp.at|posbi.wsr.ac.at|wsrgeh.wsr.ac.at|braveheart.wsr.ac.at|dialog.wsr.ac.at|samkar.wsr.ac.at|yoyo.hjp.at|yoyo.wsr.ac.at|localhost.localdomain) export LD_LIBRARY_PATH=/usr/local/lib ;; posbi.wsr.ac.at)