[GH-ISSUE #883] Special chars in Script - Display error #552

Open
opened 2026-03-02 02:17:12 +03:00 by kerem · 2 comments
Owner

Originally created by @MalteKiefer on GitHub (Dec 20, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/883

Server Info (please complete the following information):

  • OS: Debian 11
  • Browser: Edge
  • RMM Version (as shown in top left of web UI): 0.10.4

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): 1.7.1
  • Agent OS: Windows 10

Describe the bug
I send a message to the user via a powershell script. Here, special characters of the German language are not displayed correctly.

image

Script
This is the content of the script I created. If I run it directly on the computer in Powershell, it displays correctly.

msg * "Dieser Computer wird in 5 Minuten neugestartet. Bitte speichern Sie alle Ihre offenen Dokumente und schließen Sie alle geöffneten Anwendungen."

Start-Sleep -Seconds 300 ; Restart-Computer -Force
Originally created by @MalteKiefer on GitHub (Dec 20, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/883 **Server Info (please complete the following information):** - OS: Debian 11 - Browser: Edge - RMM Version (as shown in top left of web UI): 0.10.4 **Installation Method:** - [ ] Standard - [X] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): 1.7.1 - Agent OS: Windows 10 **Describe the bug** I send a message to the user via a powershell script. Here, special characters of the German language are not displayed correctly. <img width="396" alt="image" src="https://user-images.githubusercontent.com/59220985/146728013-6a15af2c-7c1a-45b2-ac4f-05e2a4e4d02f.png"> **Script** This is the content of the script I created. If I run it directly on the computer in Powershell, it displays correctly. ```powershell msg * "Dieser Computer wird in 5 Minuten neugestartet. Bitte speichern Sie alle Ihre offenen Dokumente und schließen Sie alle geöffneten Anwendungen." Start-Sleep -Seconds 300 ; Restart-Computer -Force ```
Author
Owner

@dinger1986 commented on GitHub (Dec 20, 2021):

What happens if you run the script in powershell via remote background? Or send the command?

<!-- gh-comment-id:997683830 --> @dinger1986 commented on GitHub (Dec 20, 2021): What happens if you run the script in powershell via remote background? Or send the command?
Author
Owner

@silversword411 commented on GitHub (Dec 23, 2021):

I'm sure this is some language thing that @wh1te909 will have an answer for ;)

<!-- gh-comment-id:1000451688 --> @silversword411 commented on GitHub (Dec 23, 2021): I'm sure this is some language thing that @wh1te909 will have an answer for ;)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#552
No description provided.