• Aucun résultat trouvé

In Practice

N/A
N/A
Protected

Academic year: 2022

Partager "In Practice"

Copied!
1
0
0

Texte intégral

(1)

Perl version 5.10.0 documentation - Encode::Unicode::UTF7

Page 1 http://perldoc.perl.org

NAME

Encode::Unicode::UTF7 -- UTF-7 encoding

SYNOPSIS

use Encode qw/encode decode/;

$utf7 = encode("UTF-7", $utf8);

$utf8 = decode("UTF-7", $ucs2);

ABSTRACT

This module implements UTF-7 encoding documented in RFC 2152. UTF-7, as its name suggests, is a 7-bit re-encoded version of UTF-16BE. It is designed to be MTA-safe and expected to be a standard way to exchange Unicoded mails via mails. But with the advent of UTF-8 and 8-bit compliant MTAs, UTF-7 is hardly ever used.

UTF-7 was not supported by Encode until version 1.95 because of that. But Unicode::String, a module by Gisle Aas which adds Unicode supports to non-utf8-savvy perl did support UTF-7, the UTF-7 support was added so Encode can supersede Unicode::String 100%.

In Practice

When you want to encode Unicode for mails and web pages, however, do not use UTF-7 unless you are sure your recipients and readers can handle it. Very few MUAs and WWW Browsers support these days (only Mozilla seems to support one). For general cases, use UTF-8 for message body and MIME-Header for header instead.

SEE ALSO

Encode, Encode::Unicode, Unicode::String RFC 2781 http://www.ietf.org/rfc/rfc2152.txt

Références

Documents relatifs

[r]

The VARY translation routine builds from the input VARY sentence the required lists of symbols for generating the VARY coding and for providing the necessary

1) After every multiplication, division or unary minus sign in an- ticipation of the next operation being POW. This puts the rightmost Library Routine on the

C’est parce que la fonte Gardiner répond à ces besoins et fournit une liste de signes dont l’existence a été vérifiée qu’elle a été, finalement, choisie comme base de la

– JEU DE CARACTÈRES CODÉS — fonction qui attribue un numéro (ou exceptionnellement deux) à chaque caractère abstrait du répertoire ; – FORME EN MÉMOIRE DES CARACTÈRES

Mais, pour un codage universel de caractères comme Unicode, on ne peut coder toutes les combinaisons de digrammes, trigrammes ou polygrammes ; il y en a tout simplement trop..

[r]

Le but de ce projet et de réaliser une page consacrée à Unicode ; celle-ci contiendra du contenu informatif, mais permettra aussi d'eectuer des recherches dans la base de donnée