≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #2000

Bug #2000: Impossible to search files containing UTF-8 characters

Kind bug
Product Command-T
When Created 2012-08-21T13:17:22Z, updated 2015-04-08T09:54:35Z
Status open
Reporter anonymous
Tags no tags

Description

Command-T doesn't let me type UTF-8 (é, á, í, ã and so on) characters in the search input. Also, if I bring the search input in a directory that contains files with these characters, it gives me an error:

Error detected while processing function <SNR>16_CommandTShowFileFinder:
line    2:
Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8

I'm using the latest GitHub version.

Cheers, Alex Tercete

Comments

  1. Greg Hurrell 2012-08-21T16:37:10Z

    The fact that you can't type non-ASCII at the prompt is a known limitation (bug #1535).

    The thing about the error when in a directory with those characters is new to me though. Let's make this bug for that second issue, and keep bug #1535 for the prompt limitation.

  2. Mike Miller 2012-09-04T07:26:00Z

    Until it's possible to enter unicode characters (though in my case, the unicode is a small part of the file name and is not essential for locating it), can you suggest a workaround that will allow Command-T to continue scanning other directories? Currently, it seems to abort all processing.

  3. anonymous 2015-04-07T16:03:08Z

    I ran into this issue as I had some directories with German names and some umlaut characters.

    Error detected while processing function commandt#CommandTShowFileFinder:
    line    2:
    Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)

    Maybe some error handling is needed to report that some files or directories could not be listed, without aborting.

  4. anonymous Created 2015-04-08T09:54:35Z, edited 2015-04-11T19:14:41Z

    The main problem is that by doing approximate matching Command-T is hitting directories and files with names that trip it up. The following message appears:

    Error detected while processing function CommandTListMatches:
    line    1:
    Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)

    It's unclear which name caused this, but even if you have a guess there is little one can do to prevent it.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets