alpha index and umlauts (ä,ö,ü)

More
11 years 11 months ago #38464 by kath
Hi there,

my alpha index seems to fail for german umlauts (Ä,Ö,Ü,ä,ö,ü): I do have items starting with Ö, but my alpha index shows this letter not as link, as if there were no such items.

In category_alpha.php I see calls to
FLEXIUtilities::uniord()
and
FLEXIUtilities::unichr()

Could it be that one or both of these functions fail in case of such characters?

(My 'missing' item's titel starts with 'Ö', it's alias of course starts with 'oe'.)

thanks a lot,
kath :)

--
FC 2.0.2 r1679
Joomla! 2.5.11

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

More
11 years 11 months ago #38467 by ggppdk
Hello, did you try to add aliases like this:

-- (e.g for Greek):
Α~ΑΆαά !! Ε~ΕΈεέ!!Ι~ΙΊιίϊΐ!!Υ~υύϋΰΥΎ!! ...

-- e.g in your case maybe something like:
A~aäAÄ!!O~oöOÖ!!U~uüUÜ


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 11 months ago #38471 by kath
Ok, what worked was this (in menu item params > "override: Parameters: Alpha-Index, Search, Filters"):
"Custom AI Character Aliases" > "a~aAäÄ!!o~oöOÖ!!u~uüUÜ!!".
(instead of setting these params per menu item I could have done it globally or per category aswell, I guess..)
This lets my "Ö"-items appear inside my "O"-item-list and the client is happy with it.

What did not work as expected, however, was this:
"Custom Alpha Index List" > "[default]=a,ä,b,c,d,e,f,g,h,i,j,k,l,m,n,o,ö,p,q,r,s,t,u,ü,v,w,y,z!!0,1,2,3,4,5,6,7,8,9"
AND
"Custom AI Character Aliases" > "ä~äÄ!!ö~öÖ!!ü~üÜ!!"
which would nicely separate "Ö"s from "O"s. Any idea why this is (not) happening?

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

More
11 years 11 months ago #38472 by ggppdk

kath wrote: What did not work as expected, however, was this:
"Custom Alpha Index List" > "[default]=a,ä,b,c,d,e,f,g,h,i,j,k,l,m,n,o,ö,p,q,r,s,t,u,ü,v,w,y,z!!0,1,2,3,4,5,6,7,8,9"
AND
"Custom AI Character Aliases" > "ä~äÄ!!ö~öÖ!!ü~üÜ!!"
which would nicely separate "Ö"s from "O"s. Any idea why this is (not) happening?


Can you say how it behaved ?

e.g. the character ä is displayed but it yields not results with ä or Ä
or it yields results with ä only and not results with Ä


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 11 months ago #38473 by kath

Can you say how it behaved ?
e.g. the character ä is displayed but it yields not results with ä or Ä

^this.
In detail: ä is displayed like an empty character (without link) after i configure to not skip empty AI characters.
If I let FC skip empty AI characters, ä is ommitted in the AI.

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

More
11 years 11 months ago #38474 by ggppdk

kath wrote:

In detail: ä is displayed like an empty character (without link) after i configure to not skip empty AI characters.
If I let FC skip empty AI characters, ä is ommitted in the AI.


Hello, this is good information,
i will open an issue in bug tracker not to forget to to test this case:
Issue 586


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.344 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save