Keyword

[SOLVED] Problem with item alias (Unicode)

  • Hugo Lina
  • Hugo Lina's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122255 by Hugo Lina
I am facing a strange problem of K2 alias.

In title of items, I have unicode character "Đ" and sometimes K2 change it to "d", sometime "dh" in the alias.

I wonder why this could happen and I tried to look up the unicode code behind them and I found out that there are two version of Đ.

1. Đ (most used)
2. Ð (less used)

Note: although they look the same, they are actually the two different characters (you guys can copy the character from two lines above and look up them here: www.fileformat.info/info/unicode/char/search.htm).

And the problem is although I enforce to use special characters for SEF URL in K2 advanced settings, it only apply to the first type of Đ (which change to d in alias), however, if I use the second type of Ð, it will change to dh in alias.

I tried to check the special characters from the text provided by K2. They have both characters to convert, however, it only work with the first Đ, not the second type of it.

List of special characters are something look like: "À|A, Á|A, Â|A, Ã|A, Ä|A, Å|A, à|a, á|a, â|a, ã|a, ä|a, å|a, Ā|A, ā|a, Ă|A, ă|a, Ą|A, ą|a, Ç|C, ç|c, Ć|C, ć|c, Ĉ|C, ĉ|c, Ċ|C, ċ|c, Č|C, č|c, Ð|D, ð|d, Ď|D, ď|d, Đ|D, đ|d, È|E, É|E, Ê|E, Ë|E, è|e, é|e, ê|e, ë|e, Ē|E, ē|e, Ĕ|E, ĕ|e, Ė|E, ė|e, Ę|E, ę|e, Ě|E, ě|e, Ĝ|G, ĝ|g, Ğ|G, ğ|g, Ġ|G, ġ|g, Ģ|G, ģ|g, Ĥ|H, ĥ|h, Ħ|H, ħ|h, Ì|I, Í|I, Î|I, Ï|I, ì|i, í|i, î|i, ï|i, Ĩ|I, ĩ|i, Ī|I, ī|i, Ĭ|I, ĭ|i, Į|I, į|i, İ|I, ı|i, Ĵ|J, ĵ|j, Ķ|K, ķ|k, ĸ|k, Ĺ|L, ĺ|l, Ļ|L, ļ|l, Ľ|L, ľ|l, Ŀ|L, ŀ|l, Ł|L, ł|l, Ñ|N, ñ|n, Ń|N, ń|n, Ņ|N, ņ|n, Ň|N, ň|n, ʼn|n,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h, ҳ|h, һ|h, ц|ts, ҵ|ts, ч|ch, ӵ|ch, ҷ|ch, ӌ|ch, ҹ|ch, џ|dz, ш|sh, щ|sht, ъ|a, ы|y, ӹ|y, ь|y, ҍ|y, э|e, ӭ|e, ю|yu, я|ya" in K2.

Can you guys plz help me out of this or at least tell me where I can find the code converting title into alias for me to work on it?

Please Log in or Create an account to join the conversation.

  • Hugo Lina
  • Hugo Lina's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122256 by Hugo Lina
Replied by Hugo Lina on topic Re: Problem with item alias (Unicode)
Oh. Never mind about this. I am wrong when trying to do something with special characters from K2 advanced settings.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum