Start a new topic

Search with Chinese character can't find result

How to reproduce:

  1. My org file on Mac is stored in UTF-8 format (by default). 
  2. Enter a title in "Emacs 简介" on MAC.
  3. Sync with icloud.
  4. In Beorg "TODO" tab, perform search, if I search "Emacs", it will show the entry. But, if I search "简介", it shows nothing.

2 people have this problem

Thank you! I just found the problems. It should be the syntax error causing beorg to fail to read the configuration.
(94 Bytes)

I've just tried reproducing this however it is working for me. I have switched between my setting filter-min-chars to 3 and 2, and can see the search not working (on 3 characters) and working (on 2 characters).

Potentially this might be a syntax error in your which is causing beorg to fail to read the configuration you've added. Check the beorg log to see if there are any errors. Alternatively try temporarily removing everything else from your beorg except the filter-min-chars section and see if that fixes it, and then try and work out where the error is.

Failing the above try sending me the whole and I'll see if I can see an issue.

Thank you for sending through the example. I'll investigate this further over the next couple of days and let you know if either there is a bug (which can then be fixed) or if a beorg configuration issue.

Here is screenshot and sample file.
(94 Bytes)

Can you provide a screenshot showing the search, and a sample org file so I can reproduce the issue?

Yes, I have killed beorg and restart. Even have rebooted the phone, but it’s still not working.

Make sure you restart beorg (i.e. kill and the start again) for the changes in the to take effect.

I just added the code in file. But it seems not working. Can anyone help me? Thanks!

This is a setting that needs to be added to your - for example

(set! filter-min-chars 2)

If you aren't familiar with using an for advanced configuration of beorg please review

Seems that there is still no such option in version 2.15.0(129)

I've realised the issue is not the characters but the number of characters entered. beorg only performs the search is 3 or more characters are entered. This minimum length isn't helpful for languages such as Chinese. What I'm going to do is add a setting so a user can change this. The reason for the setting is performance when searching using the UI. You'll see this new setting in the next update.

1 person likes this

Thank you for reporting this problem, I will investigate.

Login or Signup to post a comment