Help - Search - Members - Calendar
Full Version: Ignoring umlauts/accents in search, e.g. Bjork -> Björk
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
nicke2323
Newbie here, just converted from J River Media Center. I am very impressed with foobar2000 so far, but one issue has cropped up:

I'm not getting the search results I'd like, due to inconsistent foreign naming conventions in my tags (mostly imported from freedb). I'd like a search for Bjork to find files tagged Bjork, Björk, Bjørk, etc., but currently foobar2000 only returns results with the exact spelling given. J River does the right thing by default (so far, it's the only thing J River does better).

Can foobar2000 be configured to do this? If not, where and to whom should I nag to make this happen? Thanks!
Zarkon
I'll mention what I do with a similar issue: I store Japanese names in ARTIST-JP, ALBUM-JP, and TITLE-JP tags along with its English name in the usual artist/album/title tags. This has the added benefit of being compatible with programs which don't support Unicode and would otherwise fail to display any song information. In your case, I would store "Bjork" in some custom tag that I then include in the list of tags that is searched by your search component of choice.
shakey_snake
does
CODE
$ascii(%artist%) HAS Bjork

work?
kanak
QUOTE(shakey_snake @ May 10 2008, 22:05) *

does
CODE
$ascii(%artist%) HAS Bjork

work?


Might have to put "" around the title formatting:
CODE

"$ascii(%artist%)" HAS Bjork
nicke2323
The quoted version works, thanks guys - but this is not something I want to type all the time. The European languages use umlauts frequently, so these will pop up in Artist, Title, Album, Comments, etc ...

Can we have searches do this $ascii-transformation by default, or at least have an option to do so?

Again, where do I post a feature request to make this happen?
dhromed
I have a little tool that helps me type accented chars almost as quickly as normal chars, so it's not a large issue for me. It's called AllChars, and really helps with the chars. But it also royally screws up many D3D and OGL applications: it makes them crash (sometimes only when one types). (so actually if someone knows about a little tool that does the same+text macros, and does not let things explode, please let me know smile.gif )
nicke2323
QUOTE(dhromed @ May 12 2008, 12:25) *

I have a little tool that helps me type accented chars almost as quickly as normal chars, so it's not a large issue for me. It's called AllChars, and really helps with the chars. But it also royally screws up many D3D and OGL applications: it makes them crash (sometimes only when one types). (so actually if someone knows about a little tool that does the same+text macros, and does not let things explode, please let me know smile.gif )


Since most European keyboards have this stuff built-in, I'm assuming you're American with a US-English keyboard layout. If so, you can just set your keyboard to US-international in Windows to get similar functionality to AllChars.

http://support.microsoft.com/kb/306560

My problem is not typing the accents, it's inconsistent tags. Or in some cases with some foreign music, not knowing how to correctly spell it. Here's another example: yesterday I searched for a track called Vida Mia. Zero hits. When I looked it up manually in my folder tree, I saw the reason: the track's title was not Vida Mia, but Vida Mía. (Did you spot the difference?)

So I want the search to give results for all variations of international letters - as several other media players (and search engines like Google) do by default.
Xezzy
Yes this feature should be implemented already in foobar.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.