-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Broken non-Latin output #2992
Comments
Hi, thanks for the report. I wonder if this is somehow related to #2961 Did it work correctly in previous versions? would be great if you could try 1.7 and 1.6 |
@wader, 1.7rc-2 has no such bug, but it's already present in 1.7. |
@sergeevabc Ok thanks, that is very useful Changes jq-1.7rc2...jq-1.7 This commit sticks out 11c528d |
@wader, I'm ready to test x64 windows binary without that commit if you compile and attach it to your next message right here (as .zip since Github does not allow .exe) |
Thanks for the offer. We probably still want to call |
@wader, also I believe it's better from UX standpoint to omit paths when displaying the manual, because paths in this case, sometimes quite long,1 create a distracting noise and make it hard to read on small (e.g. laptop) screens. Examples without paths$ 7z.exe
7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...] [@listfile]
$ age.exe
Usage:
age [--encrypt] (-r RECIPIENT | -R PATH)... [--armor] [-o OUTPUT] [INPUT]
age [--encrypt] --passphrase [--armor] [-o OUTPUT] [INPUT]
age --decrypt [-i PATH]... [-o OUTPUT] [INPUT]
$ aria2c.exe
Specify at least one URL.
Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE | METALINK_FILE] ...
$ ffmpeg.exe
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile} ...
$ magick.exe
Usage: magick.exe [ {option} | {image} ... ] {output_image}
$ rustic.exe
rustic - fast, encrypted, deduplicated backups powered by Rust
Usage: rustic.exe [OPTIONS] <COMMAND>
$ xxhsum.exe
xxhsum.exe 0.8.2 by Yann Collet
Print or verify checksums using fast non-cryptographic algorithm xxHash
Usage: xxhsum.exe [options] [files] ... Footnotes
|
Hmm that is also a bit strange. It uses
Same with older versions? |
@wader, that annoying thing related to displaying the manual with full paths exists in JQ for Windows since day one, at least it is true for 8 releases between 1.7.1 and 1.3. |
|
@nicowilliams, you've checked another part of JQ output, not the one I reported. Do the following to reproduce:
|
Ah, OK, I see it. |
Maybe we need to |
As i'm hopeless encoding nerd i follow the #utf8 tag on mastodon and happen to see this https://fosstodon.org/@zirias@techhub.social/111810376715194784 the linked commit looks a bit interesting |
Err… Hello? |
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
orC:\Pájaros
will do as wellLaunch the app only to see the following output
Changing codepage via
chcp
866/1251/65001 does not helpExpected output
The text was updated successfully, but these errors were encountered: