nut.js
nut.js copied to clipboard
Window.title() from getActiveWindow return garbled character when title has Chinese character
Version 2.1.1 Short overview
Issue occurs on
- [ ] Virtual machine
- [ ] Docker container
- [ -] Dev/Host system
Detailed error description
const current = await getActiveWindow()
const title = await current.title
title would return ƴ����
, but acutal is 拼多多工作台
Steps to reproduce error
A window tile wich contains a Chinese character。
You can test get window title of this page https://zhidao.baidu.com/question/25207546.html
Additional content
Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)
Hi @ouchuji 👋
I can confirm that this is a problem. Unfortunately nut.js is not properly supporting unicode yet.
OK @s1hofmann , and how can I get @NUT-TREE/NL-MATCHER
? I can not find it at the npm
@ouchuji It’s a private package for sponsors. See https://nutjs.dev/plugins/imagefinder and https://github.com/sponsors/s1hofmann
@s1hofmann I am a sponsor now, and how can I get it? You need to set something?
@ouchuji Thanks for sponsoring. Unfortunately, you didn’t sign up for a sponsoring tier entitled to access private packages
Also, since this is unrelated to the issue itself, please refer to https://nutjs.dev for further information
OK, Thanks
This issue is stale because it has been open for 30 days with no activity.
Closed in @nut-tree/bolt
plugin.