Hi!

In Hungarian we use special characters, like öüóőúűéáí. Is it possible to convert these chars to normal, with removing the accents, so they won't be replaced with the separator character?

Comments

mikeryan’s picture

Assigned: Unassigned » mikeryan

Easier said than done - see http://drupal.org/node/14698 for some discussion of the issues. Personally, I don't see a reason to convert the characters, I'd like to leave them as-is. I just need to figure out a regular expression that recognizes accented letters as alphanumeric characters. I'm not really familier with character set issues, but if someone with a little more understanding of them can offer a replacement for

  $output = preg_replace('/[\W]+/ ', $separator, $output);

that respects accented letters I'd appreciate it...

jdmquin’s picture

I agree we should leave them, but untill a better solution comes go to http://drupal.org/node/20150 for a change to repace them with their ASCII counterparts.

Thanks

JJ

mikeryan’s picture

Committed to cvs.

mikeryan’s picture