Deutsch   English   Français   Italiano  
<tn79u9$2aof$1@cabale.usenet-fr.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!.POSTED!not-for-mail
From: Olivier Miakinen <om+news@miakinen.net>
Newsgroups: fr.comp.lang.php
Subject: Re: Casse de 'from_encoding' et 'to_encoding' pour
 mb_convert_encoding
Date: Mon, 12 Dec 2022 14:22:16 +0100
Organization: There's no cabale
Lines: 27
Message-ID: <tn79u9$2aof$1@cabale.usenet-fr.net>
References: <eevdphhtqm6k2itp9tunpfdrijqs6nk993@4ax.com>
NNTP-Posting-Host: 37.171.219.250
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: cabale.usenet-fr.net 1670851337 76559 37.171.219.250 (12 Dec 2022 13:22:17 GMT)
X-Complaints-To: abuse@usenet-fr.net
NNTP-Posting-Date: Mon, 12 Dec 2022 13:22:17 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Firefox/52.0 SeaMonkey/2.49.4
In-Reply-To: <eevdphhtqm6k2itp9tunpfdrijqs6nk993@4ax.com>
Bytes: 1888

Bonjour,

Le 12/12/2022 11:29, Otomatic a écrit :
> 
> [...] nulle part dans la documentation il n'est mentionné (tout du
> moins, je n'ai pas trouvé) que les champs to_encoding et from_encoding
> ne tiennent pas compte de la casse.
> 
> Avant de continuer mon script PHP, je voudrais bien savoir où trouver
> cette information.

Il s'agit de « character sets », enregistrés auprès de l'IANA (Internet
Assigned Numbers Authority). C'est par exemple là que l'on voit précisé
que la casse n'est pas prise en compte :

<https://www.iana.org/assignments/character-sets/character-sets.xhtml>
§
The character set names may be up to 40 characters taken from the
printable characters of US-ASCII.  However, no distinction is made
between use of upper and lower case letters.
§

Tu peux donc, sans crainte, considérer que c'est toujours vrai.

Cordialement,
-- 
Olivier Miakinen