On Thu, 14 Mar 2002, F�lix Hauri wrote: > On Thu, 14 Mar 2002, Vincent Munari wrote: > > ... > > Et je peux pas changer le nom du r�pertoire car ce nom doit �tre affich� > > automatiquement avec la bonne orthographe sur la page. > Oui, mais non! > > Les noms de fichiers ne peuvent pas contenir de caract�re ``localis�s'' > s'ils doivent �tre consult�s internationalement... > > > J'ai essay� sous win$ et ca marche sans rien faire de > > sp�cial, mais sous linux, impossible de faire passer l'url. > Cela ne devrait pas!
Je suis tomb� sur les recommendations w3c concernant html-4, en gros: ---- http://www.w3.org/TR/html401/appendix/notes.html#non-ascii-chars B.2 Special characters in URI attribute values B.2.1 Non-ASCII characters in URI attribute values Although URIs do not contain non-ASCII values (see [49][URI], section 2.1) authors sometimes specify them in attribute values expecting URIs (i.e., defined with [50]%URI; in the [51]DTD). For instance, the following [52]href value is illegal: <A href="http://foo.org/H�kon">...</A> We recommend that user agents adopt the following convention for handling non-ASCII characters in such cases: 1. Represent each character in UTF-8 (see [53][RFC2279]) as one or more bytes. 2. Escape these bytes with the URI escaping mechanism (i.e., by converting each byte to %HH, where HH is the hexadecimal notation of the byte value). ---- ... ... > src=http://serveur.com/nom_avec_�/01_nom_avec_�.jpg> > si je remplace le � par "ñ" dans l'url, ca marche pas non plus. En fait, il fallait �crire: http://serveur.com/nom_avec_%F1/01_nom_avec_%F1.jpg ... et pour l'url � Yann: > Pas de probl�me pour afficher http://twiners.net/viajes/showit2.php?trip=ecuador/Monta�ita&pic=I01_Monta�ita_5.jpg Il faudrait: http://twiners.net/viajes/showit2.php?trip=ecuador/Monta%F1ita&pic=I01_Monta%F1ita_5.jpg -- F�lix Hauri - <[EMAIL PROTECTED]> - http://www.f-hauri.ch -- http://www-internal.alphanet.ch/linux-leman/ avant de poser une question. Ouais, pour se d�sabonner aussi.
