in reply to Validate Country by ISO 3166 data
when it should be"reunion" => "RE Reunion",
But there is another problem and that is to change the case of the country name to match against the hash involves a change of case. This change of case like using the uc() function or lc() will not handle the diacritics correctly. You can subtract an ascii 32, and catch most of these, but not all. Another option is to go with the"réunion" => "RE Réunion",
But this has some weirdnesses as well. Very useful module, I think it may need to be tweaked a little to handle the weird cases where diacritics appear in the country name.use utf8;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Validate Country by ISO 3166 data
by shotgunefx (Parson) on Mar 08, 2002 at 20:25 UTC |