REXCHANG Posted November 15, 2018 Posted November 15, 2018 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. However, with Alfred. full name is okay, of course. If I use only first character of folder name, Alfred find the target. If I use first 2, 3, or 4 characters of it, nothing found by Alfred. 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.
REXCHANG Posted December 24, 2018 Author Posted December 24, 2018 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. JoeChou 1
JoeChou Posted November 12, 2022 Posted November 12, 2022 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
nituren Posted April 18, 2024 Posted April 18, 2024 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.
jbd Posted September 26, 2024 Posted September 26, 2024 (edited) Still the same problem here in Sep 2024. I've tried with RayCast, Alfred and uTools, still have same problem. I think this may caused by character encoding. Needs to be solved. Edited September 26, 2024 by jbd
jbd Posted September 26, 2024 Posted September 26, 2024 I think I've found the problem, it maybe caused by system language setting. All these bugs were found on system language set was 'zh_TW'. So I made a test: 1.mkdir ~/tmp 2.touch 搜索标准.txt 3.mdfind -onlyin . 'kMDItemFSName == "*标*"' returns right result: /Users/XXXX/tmp/搜索标准.txt 4.mdfind -onlyin . 'kMDItemFSName == "*标准*"' returns nothing. And when I changed my system language as Chinese Simplified, everything was ok.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now