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

Igor Sysoev igor at sysoev.ru
Thu Jan 27 13:26:08 MSK 2011


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 ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx-devel mailing list