Re: xfce-mcs-plugins e xfce-utils [riguardo a UTF-8]
Oberon <[email protected]> Thu, 19 Feb 2004 23:16:19 +0100
| Newsgroups | gmane.os.freebsd.italian.traduzioni |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 19 Feb 2004 21:49:20 +0100 dave <[email protected]> wrote: > p.s. > come faccio a convertire in utf-8 dei files ASCII English text > (ho già pronti xfce-mcs-manager e xfce4-trigger-launcher)? da http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 : > UTF-8 has the following properties: > * UCS characters U+0000 to U+007F (ASCII) are encoded simply as bytes > 0x00 to 0x7F (ASCII compatibility). This means that files and strings > which contain only 7-bit ASCII characters have the same encoding under > both ASCII and UTF-8. Quindi, se ho ben interpretato, è perfettamente normale che ad es.: % echo 'abcde' > primo % file primo primo: ASCII text % md5 primo MD5 (primo) = 9b9af6945c95f1aa302a61acf75c9bd6 % recode ascii..utf8 primo % file primo primo: ASCII text % md5 primo MD5 (primo) = 9b9af6945c95f1aa302a61acf75c9bd6 mentre: % echo 'àòè' > secondo % file secondo secondo: ISO-8859 text % md5 secondo MD5 (secondo) = 4c413286d71258c3fb8c85f9b5061d8e % recode l1..utf8 secondo % file secondo secondo: UTF-8 Unicode text % md5 secondo MD5 (secondo) = 90e2088fcded1b338609cd82d459d1db Spero di essere stato d'aiuto, saluti. -- Regole e consigli per l'uso della lista: http://www.gufi.org/ml.php