Re: Conversion UTF-8 vers autre codec

LAFAGE Vincent via Ada-france <[email protected]> Thu, 20 May 2021 14:04:33 +0200
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Le 20/05/2021 à 13:43, Stephane Carrez via Ada-france a écrit :
> Merci Jean-Pierre pour cette précision!
> 
> J'avais jamais noté que l'UTF-8 correspond au Latin-1 sur la partie
> U+0080..U+00FF :-)

En fait, Unicode coïncide sur cette plage, mais UTF-8 n'est qu'un
encodage d'Unicode. Et quand le bit de poids fort est haut, il signale
un nouvel octet qui fait suite
é → 0xe9 en latin1
  → 0xe9 en unicode
  → 0x00e9 en UTF-16
  → 0xc3 0xa9 en UTF-8

Je recommande vivement le visionnage de
« Characters, Symbols and the Unicode Miracle - Computerphile »
https://www.youtube.com/watch?v=MijmeoH9LT4

À+
Vincent

> Stephane
> _______________________________________________
> Ada-france mailing list
> [email protected]
> https://mail.ada-france.org/cgi-bin/mailman/listinfo/ada-france
> 


-- 
Vincent LAFAGE <[email protected]>
Ingénieur de recherche
Laboratoire de Physique des 2 Infinis Irène Joliot-Curie (IJCLab)
15 rue Georges CLEMENCEAU
F-91406 ORSAY (FRANCE)
☏ +33 (0)1 69 15 31 38
_______________________________________________
Ada-france mailing list
[email protected]
https://mail.ada-france.org/cgi-bin/mailman/listinfo/ada-france