Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.98k stars 536 forks source link

PC name with special characters/UTF-8 #2852

Open rodrigolzd opened 3 years ago

rodrigolzd commented 3 years ago

I have one PC with special characters/UTF-8 in its name and they show up as questions marks, not that big of a deal for me, but it will be better once this is changed/corrected. image

Ylianst commented 3 years ago

What OS in the PC running?

rodrigolzd commented 3 years ago

In that case Windows 7 Starter [7601]

krayon007 commented 3 years ago

What language windows are you using? I found on Windows 7, the hostname API is broken on US-EN, as even when I use the system UI to set a utf8 hostname, it shows incorrectly in the system UI. I use a different API to get/set the hostname on other windows versions, as that API is not available on win7.

I'll have to dig around and see if there are other APIs to fetch a utf8 hostname on Windows 7.

rodrigolzd commented 3 years ago

Brazilian Portuguese. I can create a few test VMs if needed.

krayon007 commented 3 years ago

I actually already have a Brazilian Portuguese Win7 VM hat I was doing other testing on. I'll see if I can find something that works on that.