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
Comment #1
gregglesI'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.
Comment #2
HorsePunchKid commentedI 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 myi18n-ascii.txt, and I got the correct aliasstory/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.
Comment #3
gregglesNote 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.