Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] GeoIP module: UTF-8 support in city names

Denis F. Latypoff
January 27, 2011 05:34AM
27.01.2011, 13:26, "Igor Sysoev" <igor@sysoev.ru>:
> On Thu, Jan 27, 2011 at 01:19:36PM +0300, Denis F. Latypoff wrote:
>
>>  Hello, by default GeoIP returns ISO-8859-1 encoded city names which
>>  is not suitable sometimes (e.g varchar utf8 in the DB may cause broken
>>  names, etc). So attached patch allows to use UTF-8 in city names.
>
> May be, it's better to use UTF-8 always ?
> Will it break current non-UTF-8 setups ?

I'd prefer UTF-8 by default, but yes it will break current setup.
People might used special decoders from latin1 to utf-8, so
default utf-8 may break behavior.

--
br, Denis F. Latypoff.

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] GeoIP module: UTF-8 support in city names

Denis F. Latypoff 4018 January 27, 2011 05:20AM

Re: [PATCH] GeoIP module: UTF-8 support in city names

Igor Sysoev 1168 January 27, 2011 05:28AM

Re: [PATCH] GeoIP module: UTF-8 support in city names

Denis F. Latypoff 1083 January 27, 2011 05:34AM

Re: [PATCH] GeoIP module: UTF-8 support in city names

Igor Sysoev 1202 January 27, 2011 05:38AM

Re: [PATCH] GeoIP module: UTF-8 support in city names

Denis F. Latypoff 1017 January 27, 2011 05:44AM

Re: [PATCH] GeoIP module: UTF-8 support in city names

Igor Sysoev 1439 January 27, 2011 05:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready