Quick search (ignoring accent in filename)

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

1) Whats the version you use?
2) Please post your tcmatch.ini.
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

Samuel wrote:1) Whats the version you use?
2) Please post your tcmatch.ini.
1. Version 1.1.5.5 (file tcmatch.exe from 09.02.2012)

2. I don't sure, whether I have modified tcmatch.ini or not. To avoid any doubts, here is this file in the whole:

Code: Select all

[size=8][gui]
one_line_gui=1
show_presets=1
override_search=1
invert_result=0
[wdx]
wdx_cache=1000
debug_output=1
[general]
simple_search_activate_char=
regex_search_activate_char=?
leven_search_activate_char=<
srch_activate_char=*
preset_activate_char=>
simple_search_match_beginning_activate_char=^
and_separator_char=" "
or_separator_char=|
wdx_separator_char=/
negate_char=!
case_sensitive=0
allow_empty_result=1
filter_files_and_folders=3
match_beginning=0
use_pinyin=0
use_korean=0[/size]
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

leopoldus wrote:
Samuel wrote:
quote]But is there any option to use the inverse substitution, that is when I enter the search request "Köln" (with umlaut) I'll get in response the both versions "Köln" and "Koln"?
Its already possible. I replace the chars in the filename and in the search string.
Sorry, thus I missed something. However any substitution does not work for me my default. Suppose, that I have to install some chars substitution tables or to enable this feature in the plugin settings or something else?
Mh... I thought you already tried the feature. :?

The setting is available from the gui and should be available for your version. See the readme for more information.

You may also replace your tcmatch.ini by the following one:

Code: Select all

[gui]
one_line_gui=1
show_presets=1
override_search=1
invert_result=0

[wdx]
wdx_cache=1000
debug_output=1

[general]
simple_search_activate_char=
regex_search_activate_char=?
leven_search_activate_char=<
srch_activate_char=*
preset_activate_char=>
simple_search_match_beginning_activate_char=^
and_separator_char=" "
or_separator_char=|
wdx_separator_char=/
negate_char=!
case_sensitive=0
allow_empty_result=1
filter_files_and_folders=3
match_beginning=0
use_pinyin=0
use_korean=0

[replace]
chars1=ö|o
chars2=ä|a
chars3=ü|u
chars4=ß|ss
User avatar
leopoldus
Senior Member
Senior Member
Posts: 221
Joined: 2004-11-21, 09:47 UTC

Post by *leopoldus »

2Samuel
Mh... I thought you already tried the feature
But I've surely tried it many times and it did not work.
Oh, I see... I've accidentally left you the original .INI instead of my own, so you should suppose, that I have not tried the plugin with my own substitution table. It did not work. And it does not work now with your .INI file too :(

I have no any idea, what's wrong with my system or my hands :(
Well, I'll try some more tests.


I've find it just now... at least... Due to the serious bug in the text editor I used it does not save some Unicode files in the right format. That's why my substitution table has wrong accented chars. To excuse myself I'd like to notice, that I could not expect such trick from this editor :twisted:
However now I used the proper text editor to recreate and save match.ini - and all works! :D
Thank you very much once again for this great plugin!
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Indeed you need to save the tcmatch.ini file with unicode format. There should be no problems if you use the GUI.
Post Reply