0 votes

Help in Agent Ransack says: "Agent Ransack is built with the Windows Unicode libraries and therefore supports searching of the file system with full Unicode support."

Now, I need to search for some chinese characters, like: ??

Unfortunately, it matches with "##" in any kind of document. How can I solve that?

asked by (1.6k points)

3 Answers

0 votes

Agent Ransack creates two string parsers for a search: a Unicode one for Unicode files and an ASCII one for files whose type can't be determined. Your search term is converted to ASCII using the current code page and if a matching code point can't be found a '#' is used.

In your case your search term is being evaluated to '##' for ASCII searches. Instead it probably should have been evaluted to a non-searchable character, e.g. '\1'. It'll be fixed in the next version of Agent Ransack.

answered by (1.6k points)
0 votes

Agent Ransack creates two string parsers for a search: a Unicode one for Unicode files and an ASCII one for files whose type can't be determined. Your search term is converted to ASCII using the current code page and if a matching code point can't be found a '#' is used.

In your case your search term is being evaluated to '##' for ASCII searches. Instead it probably should have been evaluted to a non-searchable character. It'll be fixed in the next version of Agent Ransack.

answered by (67k points)
0 votes

Agent Ransack creates two string parsers for a search: a Unicode one for Unicode files and an ASCII one for files whose type can't be determined. Your search term is converted to ASCII using the current code page and if a matching code point can't be found a '#' is used.

In your case your search term is being evaluated to '##' for ASCII searches. Instead it probably should have been evaluted to a non-searchable character. It'll be fixed in the next version of Agent Ransack.

answered by (67k points)
...