Jump to content

File Search has an issue in search chinese name folder


Recommended Posts

 

Some folder with Chinese name could not be found by Alfred if not the  name. 

However, Spotlight can find them with part of the name. 

 

for example, I create an empty folder. ( the name contains 5 Chinese characters)

Spotlight can find it correctly with full name or part of the name. 

 

Snipaste_2018-11-15_13-27-46.png.969d794485f7da03b384f244939c5528.png

Snipaste_2018-11-15_12-30-40.png.911842b551c192d807493479c0594cd1.png

 

However, with Alfred. 

full name is okay, of course.

If I use only first character of folder name, Alfred find the target.

Snipaste_2018-11-15_12-32-00.png.0ac257b751ee4c9a85d90054ccf344cd.png

If I use first 2, 3, or 4 characters of it, nothing found by Alfred.  

Snipaste_2018-11-15_12-32-18.png.cdb262c17f353acbda260b7b493ed0ba.png

 

I found a related post in 2014, but cannot find the solution. 

I tried to tick the settings of the word boundaries and fuzzy search but cannot fix this issue.  

 

 

Snipaste_2018-11-15_12-30-13.png

Snipaste_2018-11-15_13-26-00.png

Link to comment
  • 1 month later...

I think it is hard for the developer of Alfred to reproduce such problem. 

 

I found this problem may come from the different UTF-8 sets in my system. 

 

After remove all other languages in the system preference of Mac and restart the system. 
(i.e. change the locale to zh_tw.UTF-8)

the search result for Alfred and spotlight is the same if I use some  traditional Chinese Characters to find file.

 

However, if I use characters of simplified Chinese to find a specific file , Spotlight is able to find the file I need, and Alfred finds nothing.  

I have no idea how to fix this problem by setting. 
 

Link to comment
  • 3 years later...
On 12/24/2018 at 3:35 PM, REXCHANG said:

I think it is hard for the developer of Alfred to reproduce such problem. 

 

I found this problem may come from the different UTF-8 sets in my system. 

 

After remove all other languages in the system preference of Mac and restart the system. 
(i.e. change the locale to zh_tw.UTF-8)

the search result for Alfred and spotlight is the same if I use some  traditional Chinese Characters to find file.

 

However, if I use characters of simplified Chinese to find a specific file , Spotlight is able to find the file I need, and Alfred finds nothing.  

I have no idea how to fix this problem by setting. 
 

Same problem, and have no solution yet as of 2022

Link to comment
  • 1 year later...

Still the same problem here in 2024.

The post in below says the problem is due to word boundaries, controlled by OS X's metadata server, which presumably would affect the Spotlight search as well. However, searching in Spotlight yields a better result. Search for the same term in Spotlight could find the target file, while Alfred cannot.

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...