[development] Reverse iconv encoding for sorting of international arrays
ber at webschuur.com
Thu Jan 11 14:41:45 UTC 2007
tagadelic has a bug: when it sorts the tags based on their name, it
compares two tags with strnatcasecmp. This is used to sort-order the array
However, strnatcasecmp is not binary safe (grmmmbll), resulting in weird
clouds. One would expect "Drive | every | état | Factory | fear " instead,
état will be placed even before the tags starting with 'a'.
How is this dealt with normally, I can't beleive I am the first one to run
Is there a reverse for drupal_convert_to_utf8($data, $encoding), so that the
result is 7bit-safe and usable in strnatcasecmp?
Am I looking in the complete wrong direction?
Drupal, Ruby on Rails and Joomla! development: webschuur.com | Drupal hosting:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20070111/4c811ce3/attachment.pgp
More information about the development