SUMMARY: 8-bit display in Solaris

From: Enrique Vadillo (vadillo@rcp.net.pe)
Date: Wed May 12 1999 - 15:16:18 CDT


Original question:
------------------
I would like to be able to display 8-bit characters properly in my Solaris
CDE environment, i.e. i currently i get \151 instead of ť using VI editor.
I know what in /etc/TIMEZONE i have to set LC_CTYPE to something but i can't
remember well, or was it anything else?
------------------

The answer was to set LC_CTYPE to iso_8859_1 in my environment.

Thanks to those who replied:

yura@base4.com (Yura Pismerov)
goyo@craso.tid.es (Josť Gregorio Escalada)
tonywu@att.net.tw (Tony C. Wu)

yura@base4.com (Yura Pismerov)
------------------------------
/etc/default/init
All the locales you can find under /usr/lib/locale directory.
Select one and make particular LC_CTYPE variable.
Do not do that in /etc/default/init unless you need to have it as a global
setting. You can make just an environment variable for your shell.

goyo@craso.tid.es (Josť Gregorio Escalada)
------------------------------------------
LC_CTYPE=iso_8859_1

tonywu@att.net.tw (Tony C. Wu)
---------------------------------
This works for me.
set LC_CTYPE iso_8859_1
set LANG C
stty cs8 -istrip
-------------------------------------------------------------------

Enrique-

-- 
----------------------------------------------
 RCP - Internet Peru      Tel: +51 1 422-4848 
 Dpto de Operaciones      Fax: +51 1 421-8086
----------------------------------------------

----- End of forwarded message from Enrique Vadillo -----

-- ---------------------------------------------- RCP - Internet Peru Tel: +51 1 422-4848 Dpto de Operaciones Fax: +51 1 421-8086 ----------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:19 CDT