[BUG] CMD codepage changed after running fastfetch

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

The default codepage for my CMD is 936 (Simplified Chinese). However, after running fastfetch, the codepage is changed. It caused other CMD programs output change into English. Fastfetch should revert to the user's original codepage settings after exiting.

Version used

fastfetch 2.60.0 (x86_64)

Bug prevalence

Always

Regression

No

Installation

Package manager

Package manager

scoop

Screenshots

No response

Configuration

System information

Features built-in

threads
vulkan
imagemagick7
chafa
zlib
opencl
libzfs