Hello,
I use Pathauto on a Drupal 6.10 system and I have problem with some special characters.
Our customer want to use ® and ™ in title, but the pathauto doesn't handle it.
I tried to include these characters in "Strings to Remove" box, then I tried to place them in i18n-ascii.txt and tried to expand the pathauto_punctuation_chars function in pathauto.inc, and set remove in punctuation settings, but there was no result, however the characters stayed in title.
Any idea, help or suggestion to solve this problem?
Thanks in advance,
DanyG
Comments
Comment #1
lizbethalml commentedHello! I have the same issue!!!!! The editors write in spanish so they have to put words like café, César, etc... in titles but there is no puctuation setting for that accent... so how cuold I add it?????
Comment #2
greggles@lizbethalml - the answer for you is the i18n-ascii.txt file.
I'm not sure of an answer to the original question. If putting them into the pathauto_punctuation_chars code doesn't fix it...then I have no more ideas.
Comment #3
seren10pity commentedsee http://drupal.org/node/537770
Comment #4
danyg commentedThanks your comment, I tried to put is to i18n-ascii.txt also, but it didn't work. It was a year ago, maybe it works already :) I'll try.
Comment #5
minneapolisdan commentedI know this issue is old, but I am trying to solve the same issue as the original post - getting rid of ® in the path URL. I added to the 'strings' to remove, and I tried using the i18n-ascii.txt file to remove it, but still no luck. It doesn't sound like this was ever solved?
Comment #6
gregglesThe best solution is to use reduce to ascii 96 OR the transliteration module (which is Pathauto 6.x-2.* branch). As always, be sure to test a new branch of code before deploying to your site.