Making WordPress.org


Ignore:
Timestamp:
03/01/2018 09:13:34 PM (8 years ago)
Author:
iandunn
Message:

Events: Switch to utf8 charset when querying geoname_summary.

This is in conjunction with altering the table schema as described in #3295:comment:8.

Props Otto42, dd32, iandunn.
Fixes #3295

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/tests/test-index.php

    r6817 r6818  
    190190            ),
    191191            'expected' => array(
    192                 'description' => 'nairobi',
     192                'description' => 'naíróbí',
    193193                'latitude'    => '-1.283',
    194194                'longitude'   => '36.817',
     
    204204            ),
    205205            'expected' => array(
    206                 'description' => 'tokyo',
     206                'description' => 'tōkyō',
    207207                'latitude'    => '35.690',
    208208                'longitude'   => '139.692',
     
    218218            ),
    219219            'expected' => array(
    220                 'description' => 'berlin',
     220                'description' => 'berlín',
    221221                'latitude'    => '52.524',
    222222                'longitude'   => '13.411',
     
    348348            ),
    349349            'expected' => array(
    350                 'description' => "dona ana",
     350                'description' => "doña ana",
    351351                'latitude'    => '32.390',
    352352                'longitude'   => '-106.814',
     
    397397            ),
    398398            'expected' => array(
    399                 'description' => 'yaoundé',
     399                'description' => 'yaounde',
    400400                'latitude'    => '3.867',
    401401                'longitude'   => '11.517',
     
    567567            ),
    568568            'expected' => array(
    569                 'description' => 'ciudad de méxico',
     569                'description' => 'ciudad de mexico',
    570570                'latitude'    => '19.428',
    571571                'longitude'   => '-99.128',
     
    595595            ),
    596596            'expected' => array(
    597                 'description' => 'bogotá',
     597                'description' => 'bogota',
    598598                'latitude'    => '4.610',
    599599                'longitude'   => '-74.082',
     
    628628            ),
    629629            'expected' => array(
    630                 'description' => 'são paulo',
     630                'description' => 'sao',
    631631                'latitude'    => '-23.548',
    632632                'longitude'   => '-46.636',
Note: See TracChangeset for help on using the changeset viewer.