Re: encoding αχταρμάς

ndemou at gmail.com ndemou at gmail.com
Wed Jun 13 22:40:10 EEST 2007


On 6/13/07, Giorgos D. Pallas <gpall at ccf.auth.gr> wrote:
> Έχω ένα αρχειάκι το οποίο όταν το κάνω cat σε UTF-8 encoding τερματικού
> μου δείχνει εκείνα τα aeoaeoao με τα accents που συνήθως βλέπουμε σε web
> pages που έχουν ελληνικά αλλά encoding iso8859-1.

εγώ βασίζομαι στο utrac[2] & iconv[1] και δεν είχα ποτέ πρόβλημα

αν δεν τα καταφέρεις με αυτά δώσε ένα
     hexdump -C file | head
και στείλε μας το output

____________________
[1] http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html
	The iconv program converts text from one encoding to another
encoding. More precisely, it converts from the encoding given for the
-f option to the encoding given for the -t option.

[2] http://utrac.sourceforge.net/Examples.html
UTRAC stands for Universal Text Recognizer and Converter.  It is a
command line tool and a library that recognize the encoding of an
input file (ex: UTF-8, ISO-8859-1, CP437...) and its end-of-line type
(CR, LF, CRLF).




More information about the Linux-greek-users mailing list