π ~ ❯ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
如何修改配置文件
lazy boy,lazy boy,lazy all the day
离线
请编辑 /etc/locale.gen 文件,启动 zh_CN.UTF-8,然后执行 sudo locale-gen。
离线
可以保持使用LANG=en_US.UTF-8,修改配置文件防止乱码吗
lazy boy,lazy boy,lazy all the day
离线
可以保持使用LANG=en_US.UTF-8,修改配置文件防止乱码吗
可以。 wine-wechat-setup 会给微信设置 zh_CN.UTF-8,不影响你其它的程序。但前提是你得启用这个 locale。
离线
我在安装系统的时候已经启用了/etc/locale.conf的zh_CN.UTF-8
我使用安装了wine-wechat,然后进入微信官网下载了WechatSetup.exe,版本号3.4.0
最后使用命令wine64 WechatSetup.exe
英文显示正常,中文就是一个个方框乱码
抱歉刚才问题没描述清楚
现在打算使用deepin-wine-wechat
但使用yay -S deepin-wine-wechat时报错
π ~ ❯ yay -S deepin-wine-wechat
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] deepin-wine-wechat-3.3.5.50-1
1 deepin-wine-wechat (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/0): deepin-wine-wechat
1 deepin-wine-wechat (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: deepin-wine-wechat
==> Making package: deepin-wine-wechat 3.3.5.50-1 (Sun 17 Oct 2021 07:54:53 PM CST)
==> Retrieving sources...
-> Found com.qq.weixin.deepin_3.2.1.154deepin13_i386.deb
-> Found WeChatSetup-3.3.5.50.exe
-> Found run.sh
-> Found reg.patch
==> Validating source files with md5sums...
com.qq.weixin.deepin_3.2.1.154deepin13_i386.deb ... Passed
WeChatSetup-3.3.5.50.exe ... FAILED
run.sh ... Passed
reg.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error downloading sources: deepin-wine-wechat
context: exit status 1
==> Making package: deepin-wine-wechat 3.3.5.50-1 (Sun 17 Oct 2021 07:54:54 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found com.qq.weixin.deepin_3.2.1.154deepin13_i386.deb
-> Found WeChatSetup-3.3.5.50.exe
-> Found run.sh
-> Found reg.patch
==> Validating source files with md5sums...
com.qq.weixin.deepin_3.2.1.154deepin13_i386.deb ... Passed
WeChatSetup-3.3.5.50.exe ... FAILED
run.sh ... Passed
reg.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error making: deepin-wine-wechat
看报错信息是WeChatSetup-3.3.5.50.exe校验失败
是因为微信更新了的缘故吗
同时参考了deepin-wine-wechat-arch
安装包安装的方式也是同样的报错
lazy boy,lazy boy,lazy all the day
离线
我在安装系统的时候已经启用了/etc/locale.conf的zh_CN.UTF-8
我使用安装了wine-wechat,然后进入微信官网下载了WechatSetup.exe,版本号3.4.0
最后使用命令wine64 WechatSetup.exe
英文显示正常,中文就是一个个方框乱码
抱歉刚才问题没描述清楚
你在干什么?WechatSetup.exe 应该交给 wechat 命令来处理的。
离线
wechat WechatSetup.exe
这么跑?
lazy boy,lazy boy,lazy all the day
离线
wechat WechatSetup.exe
这么跑?
……
如果你要用命令行,请 wechat --help 查看用法。如果你点的图标,它会弹窗口让你选文件的。
离线
嗯嗯 感谢感谢
lazy boy,lazy boy,lazy all the day
离线
最后解决了这个问题
deepin-wine-wechat-arch
用安装包安装目录下的方法
cd deepin-wine-wechat-arch之后
π deepin-wine-wechat-arch action ❯ md5sum WeChatSetup-3.3.5.50.exe
a9b96f879714fca41f03c84714c965ec WeChatSetup-3.3.5.50.exe
更改PKGBUILD文件
md5sums第二个值修改为a9b96f879714fca41f03c84714c965ec保存
然后makepkg -si即可
lazy boy,lazy boy,lazy all the day
离线
最后解决了这个问题
deepin-wine-wechat-arch
用安装包安装目录下的方法
cd deepin-wine-wechat-arch之后
`updpkgsums` 即可。
离线
`updpkgsums` 即可。
学到了学到了
lazy boy,lazy boy,lazy all the day
离线