You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have a python file named abc.py in a folder. If I do 'ls' it displays with python icon but if I have multiple python files in that folder and I need to pipe findstr with ls a '?' appears instead of python icon.
Is it expected behavior ?
The text was updated successfully, but these errors were encountered:
Unfortunately yes, it is expected. I had a similar issue (with a different program): the reason is that findstr is a very old program from the MSDOS days; it has been kept for backwards compatibility for decades. But it does not really support Unicode. Internally the operating system translates from Unicode to the current user codepage, which has very limited knowledge of special characters. Findstr then outputs in that codepage, which is re-translated to Unicode by the operating system before being displayed but whatever terminal you have.
If you are using Powershell, your next-best option is to use Select-String..
If you are okay with an external program, I highly recommend using RipGrep. It is blazing fast and has lots of neat options. Can be installed from Winget using winget install BurntSushi.ripgrep.MSVC.
Let's say I have a python file named abc.py in a folder. If I do 'ls' it displays with python icon but if I have multiple python files in that folder and I need to pipe findstr with ls a '?' appears instead of python icon.
Is it expected behavior ?
The text was updated successfully, but these errors were encountered: