← Back to team overview

sslug-teknik team mailing list archive

Re: Special caracters i less/vi

 

Martin Dupont Ahrentsen skrev:

> dkgpd011s008:/hd20/gateway/error/20100729 # file
> gwc_dk0011_yph_20100729074144584_hsds000
> gwc_dk0011_yph_20100729074144584_hsds000: ISO-8859 text, with CRLF
> line terminators
>
> dkgpd011s008:/hd20/gateway/error/20100729 # locale
> LANG=POSIX
> LC_CTYPE=en_US.UTF-8

Så kan det nok godt betale sig at oversætte filen fra ISO-8859-? til
UTF-8.  Det er sandsynligvis ISO-8859-1.  Denne kommando oversætter fra
ISO-8859-1 til UTF-8:

   recode latin1..utf8 < gwc_dk0011_yph_20100729074144584_hsds000

God fornøjelse,

Jacob
--
Jacob Sparre Andersen Research & Innovation
Vesterbrogade 148K, 1. th.
1620 København V
Danmark

Telefon: +45 21 49 08 04
E-post:  jacob@xxxxxxxxxxxxxxx
Websted: http://www.jacob-sparre.dk/


Follow ups

References