maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Missing city name in result files!


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] Missing city name in result files!
Date: Thu, 14 Jan 2010 08:57:43 +0100

On Thu, 14 Jan 2010 08:02:12 +0100
Jeroen van Rijn <address@hidden> wrote:

> > I don't think there's really something we can do about this though,
> > because we can't give links containing these characters (the URLs
> > can't contains non-ascii characters just yet, IIRC).
> 
> http://ar.wikipedia.org/wiki/الصفحة_الرئيسية would suggest different.

Yes, you can pass any character, but my understanding is that the
browser doesn't say in *which* encoding it is passing the URL.
Therefore, it can be UTF-8, ISO-8859-x or any other country-specific
encoding.

See http://www.ietf.org/rfc/rfc2396.txt

«
   For original character sequences that contain non-ASCII characters,
   however, the situation is more difficult. Internet protocols that
   transmit octet sequences intended to represent character sequences
   are expected to provide some way of identifying the charset used, if
   there might be more than one [RFC2277].
»

Wikipedia seems to have a clever mechanism that somehow detects the
encoding and/or tries to find a page that matches the given name.

But I just discovered:
http://en.wikipedia.org/wiki/Internationalized_Resource_Identifier.
It's really not an area in which I'm an expert.

Thomas
-- 
Thomas Petazzoni                         http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse              http://www.toulibre.org

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]