Skip to content

Broken non-Latin output #2992

Closed
Closed
@sergeevabc

Description

@sergeevabc

Initial state

jq 1.7.1 on Windows 7 x64

Steps to reproduce

  • Unpack the app to C:\Проверка
    I use Cyrillic, but C:\Vögel or C:\Pájaros will do as well

  • Launch the app only to see the following output

    $ jq.exe
    jq - commandline JSON processor [version 1.7.1]
    
    Usage:  C:\Р?С?Р?Р?РчС?РєР°\jq.exe [options] <jq filter> [file...]
            C:\Р?С?Р?Р?РчС?РєР°\jq.exe [options] --args <jq filter> [strings...]
            C:\Р?С?Р?Р?РчС?РєР°\jq.exe [options] --jsonargs <jq filter> [JSON_TEXTS...]
               ^^^^^^^^^^^^^^^^
  • Changing codepage via chcp 866/1251/65001 does not help

Expected output

Usage:  C:\Проверка\jq.exe ...
           ^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions