I'm trying to create content with characters in UTF-8, (jap カ) but pathauto ignores that characters (created alias jap for node...). I have added the line カ = "ka" to the i18n-ascii.txt, and it works perfectly for spanish transliterations like á = "a", but not for this japanese characters.

Comments

greggles’s picture

I'm really sorry, but I have little idea how to fix this. If you can find something which will work then that would be great. UTF8 is just not part of stuff that I have much experience with so I'm not able to provide much assistance.

The code the exists in pathauto for transliteration and utf8 support has all been contributed by other people.

HorsePunchKid’s picture

Status: Active » Postponed (maintainer needs more info)

I have tried this, and it seems to be working fine. I have a story node with the title Test: Foo & Bar! (#四), I appended 四 = "4" to my i18n-ascii.txt, and I got the correct alias story/2007/09/29/test-foo-bar-4.

Are you sure your modification to the transliteration file was saved correctly as UTF-8? Note that I'm using the latest dev version with this patch.

greggles’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Note that the user in http://drupal.org/node/182757 had a similar problem and it seems that editing and/or uploading with tools that don't support utf8 was the problem.