Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug? special chars count as 3 chars? #75

Open
pstein opened this issue Jan 7, 2022 · 1 comment
Open

Bug? special chars count as 3 chars? #75

pstein opened this issue Jan 7, 2022 · 1 comment
Labels
more info More information is needed before we can proceed question

Comments

@pstein
Copy link

pstein commented Jan 7, 2022

When I search for overlong filenames I got results beginning with

D:\misc\.....

In the result list these files are listed as

D%3A%5Cmisc%5C....

So ":" is counted as 3 (!) chars "%3A"
Similarly "\" as "%5C"

Can this be true?

I though such special chars need only 1 byte (in Latin charset) and hence count only for 1 in the length calculation

Can you verify this?

@deadlydog
Copy link
Owner

deadlydog commented Jan 11, 2022

Do you have the Url encode paths option checked @pstein? If so, then yeah, it transforms some special characters to their percent-encoded equivalent, which is what would be used for web addresses. For example, a space is transformed into %20.

image

@deadlydog deadlydog added the more info More information is needed before we can proceed label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info More information is needed before we can proceed question
Projects
None yet
Development

No branches or pull requests

2 participants