Closed (works as designed)
Project:
Pathauto
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2017 at 19:35 UTC
Updated:
9 Feb 2026 at 14:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stockticker commentedPathauto is transliterating degree symbol (to 'deg') before 'Reducing strings to letters and numbers' and before 'Punctuation symbols', so actually, only way that i have found to remove 'deg' - is to turn 'Transliterate prior to creating alias' off. (check screenshot)
Comment #3
Priyanka.addweb commentedIt is good if '°' add to PUNCTUATION string. 'Transliterate prior to creating alias' is not working properly.
Comment #4
Chris Charlton+1 for this ticket.
Comment #5
duaelfrYou could use
hook_pathauto_punctuation_chars_alter()to add the degree symbol to the list BUT transliteration is called first so it would still fail.See #2979476: Remove the punctuation before transliteration and #3032769: Cannot remove certain characters from URL aliases
Comment #6
avpadernoComment #7
mably commentedJust tested that the
hook_pathauto_punctuation_chars_alterworks now perfectly fine to solve this problem.