Skip to content

Garbled text under my Windows OS #623

Description

@rayc345

Environment

  • OS: Windows 11 10.0.26200.8655
  • rage version: rage-v0.11.2

What were you trying to do

Call rage to encrypt file with -p

What happened

Under my Windows OS(Chinese language), the rage would output garbled text under certain situations. In my test, when it asks for password, it outputs garbled text, but when it outputs the password it generated, the output is normal. Also, when both -p and -r are missing, the error text prompting for a receipent and the help text out from rage -h is good.

C:\Users\Admin\Downloads\rage>rage -e ./data.txt -o o1.f -p
杈撳叆瀵嗙爜鐭 (鐣欑┖鍒欒嚜鍔ㄧ敓鎴愬己瀵嗙爜鐭):

纭瀵嗙爜鐭:

目前使用自动生成的密码短语:
    donate-spray-blouse-board-truth-better-scare-crouch-erase-blur

C:\Users\Admin\Downloads\rage>

And I found the output is good when calling this command in VSCode terminal, but it's bad in Windows Terminal(wt) or Command Promp(cmd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions