Bonjour
j'ai copié un fichier au format utf-16 sur mon serveur.
Utilisant Apache je voulais savoir comment le configurer pour lire correctement ce fichier par un navigateur :
voici le code :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset="UTF-16" /> <title>Worldwide</title> </head> <body> JE SUIS ENCODE EN UTF 16 </body> </html>
est-ce la propriété
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
de l'environnement Apache à modifier ?
Alors bizarrament si je l'ouvres avec IE-6 ça fonctionne je vois le texte
Essayez:
http://www.jinlong-worldwide.com/utf16.html
mais pas sous firefox pourquoi ?
version ecode en UTF-8:
http://www.jinlong-worldwide.com/utf8.html
Partager