none
Select-String - Problems with Latin characters RRS feed

  • Question

  • The Texto.txt file contains the content:

    Tomate 1k
    Macarrão 1/2K
    Batata 3K
    Pimentão 1K

    When I do

    Get-Content 'C:\Teste\Texto.txt'|Select-String "Batata"

    Result

    Batata 3K

    But when I do

    Get-Content 'C:\Teste\Texto.txt'|Select-String "Macarrão"

    There is no result

    I thank anyone who can help me

    PowerShell Version 5.1.18362.752





    mercredi 1 juillet 2020 19:33

Réponses