SUMMARY: Viewing French accented characters using more

From: Jocelyn Guay <guay_at_cc2smtp.emr.ca>
Date: Thu, 03 Aug 95 11:50:20 EST

My original request was:
     
     
> Good morning alpha osf managers,
>
> We are currently in the process of setting up our first alpha osf
> version 3.2a server and I came accross an annoying problem when trying
> to view French accented characters with more.
>
> I create a file using vi in which I include some Canadian French
> accented characters. In vi the accented characters are all fine.
> When I cat the file the accents are also fine. But when I try to more
> the file the accented characters come out as a couple of garbage
> characters.
>
> By the way, I ftp the file to a SUN workstation and on an HP-UX and
> the more available on those boxes display the characters properly.
>
> Does anyone know of a fix? Is this a bug in osf? My experience with
> UNIX is still quite limited, so any clue will be appreciated.
>
> Thank you
     
     
I received seven responses all pointing me to "locale" and or "-v" option of the
more command. Both answers were right. I was able to solve the problem both by
adding the following to the ".profile":
     
   MORE=-v
   export MORE
     
or by adding
     
   LANG=fr_CA.ISO8859-1
   export LANG
     
Note that en_US.ISO8859-1 also displayed the French characters properly. I
preferred the latter solution, setting up my locale to fr_CA.ISO8859-1.
     
This was my first time using alpha-osf-managers and I must say that I was
impressed with the efficiency of the mailing list.
     
Thanks to all who responded:

Dr. Tom Blinn
Alfred von Campe
Michel Cyr
John Reeves
Donald McKillican
Kosmas Papachristos
Helgi Viggosson
     
      
"An unexamined life is not worth living" Plato.

Mr. Jocelyn Guay
Natural Resources of Canada
C6-2nd floor, 580 Booth
Ottawa, Ontario
K1A 0E4
Phone: (613) 943-0463
Fax: (613) 996-2953
Internet: guay_at_cc2smtp.emr.ca
X.400: /s=Guay/g=Jocelyn/o=ITB/prmd=GC+NRCan/admd=Govmt.Canada/c=CA
Received on Thu Aug 03 1995 - 18:16:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT