[PHP] Re: GeoIP Character Encoding

2009-07-29 Thread Nisse Engström
On Tue, 28 Jul 2009 18:10:33 -0400, APseudoUtopia wrote: > I'm using the PECL GeoIP module on php 5.2.10. When I look up an IP > address, the geoip_record_by_name() function is giving me a string > that contains "special" characters, such as the following: The PECL GeoIP page links to

[PHP] Re: GeoIP Character Encoding

2009-07-29 Thread Nisse Engström
On Tue, 28 Jul 2009 18:10:33 -0400, APseudoUtopia wrote: > 'Portugal, 09, Vila Real De Santo António' > 'Norway, 08, Ålesund' > 'Portugal, 04, Vila Nova De Famalicão' > > (Note the ó, Å, and ã). > > I'm using PostgreSQL as my database. The database's encoding is UTF8, > and the locale is C. > >