FS#9538 - tagnavi search condition opperator supports for non lattin alphabet
Opened by Yoshihisa Uchida (Uchida) - Sunday, 09 November 2008, 07:54 GMT
The search condition of tagnavi (eg. =, >, ^,...) doesn't return a correct search result to characters other than the Latin alphabet.
1) artist ^ "A"
Neither "Ándre" nor "ándre" appear to the search result.
2) artist = "Ándre"
Neither "Andre" nor "andre" appear to the search result.
My patch file solves such a problem.
Because it doesn't test enough.
There is still a possibility that the search result is not correct
according to the character used.
The search time is slow than before.
I will improve this in the future.
Please execute make zip (or make fullzip) after applying
the patch to the source file.
There is uni.mt(or unimini.mt) in .rockbox/codepages folder
when rockbox.zip is unziped, and copy this file onto your player's
(The search result doesn't correct if there is no uni.mt(or unimini.mt)).
About search result
1) It is considered that the character that is the difference
of the uppercase, titlecase and the lowercase is the same.
eg. A = a, Ω = ω
2) It is considered that the character with the pronunciation sign
(accent, umlaut, etc.) is the same as the character to which these are not attached.
eg. A = Á
3) The combination character is considered to be a character that divides into each character.
eg. Œ = O E
4) Only Japanese: the Hiragana, the halfwidth Katakana are considered to be the same character as the fullwidth Katakana.
eg. あ = ア, ｱ = ア