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] Mojibake in scoop info "Updated by" #4846

Closed
tech189 opened this issue Mar 28, 2022 · 1 comment
Closed

[Bug] Mojibake in scoop info "Updated by" #4846

tech189 opened this issue Mar 28, 2022 · 1 comment
Labels

Comments

@tech189
Copy link
Member

tech189 commented Mar 28, 2022

Bug Report

Current Behavior

When running scoop info yosys the output of the "Updated by:" section has garbled characters.

Expected Behavior

"Updated by" should output proper characters of the author's name.

Additional context/output

❯ scoop info yosys

Name        : yosys
Description : Framework for Verilog RTL synthesis
Version     : 0.9
Bucket      : main
Website     : http://www.clifford.at/yosys/about.html
License     : ISC
Updated at  : 03/11/2020 17:24:54
Updated by  : Jakub Čábera
Binaries    : yosys.exe | yosys-abc.exe

─î├íbera should be Čábera

Possible Solution

Honestly not sure how PowerShell handles unicode! This Mojibake Decoder says that the name was encoded with cp437.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.2.2

Scoop Configuration

{
  "SCOOP_BRANCH": "master",
  "lastupdate": "2022-03-28T11:06:17.5113854+01:00",
  "SCOOP_REPO": "https://github.com/lukesampson/scoop",
  "debug": false,
  "aria2-enabled": true,
  "aria2-retry-wait": 4,
  "aria2-split": 16,
  "aria2-max-connection-per-server": 16,
  "aria2-min-split-size": "4M",
  "alias": {
    "reinstall": "scoop-reinstall"
  },
  "aria2-warning-enabled": false
}
@tech189 tech189 added the bug label Mar 28, 2022
@tech189 tech189 changed the title [Bug] Bad unicode in scoop info [Bug] Mojibake in scoop info "Updated by" Mar 28, 2022
@rashil2000
Copy link
Member

rashil2000 commented Mar 28, 2022

Hey @tech189!

Thanks for the bug report. Unfortunately, this bug is not in Scoop, it is in upstream PowerShell. And whether this affects one is dependent on region/location settings of the system. To work around it, you can follow this comment - lptstr/winfetch#132 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants