[GH-ISSUE #634] BUG: Uploading and editing scripts with umlauts not possible #2350

Closed
opened 2026-03-14 03:40:27 +03:00 by kerem · 2 comments
Owner

Originally created by @ghosty212 on GitHub (Jul 12, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/634

Originally assigned to: @sadnub on GitHub.

Server Info (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: chrome
  • RMM Version (as shown in top left of web UI): 0.7.2

Installation Method:

  • [X ] Standard

Describe the bug
Scripts that contain special characters like umlauts "äöüß" cannot be edited/saved
Uploading them works without error, but the characters are removed from the scripts.
When trying to edit a script and adding those characters, the script can't be saved.

To Reproduce
Steps to reproduce the behavior:

  1. Create Umlauts.ps1 write-output "äöüß"
  2. Upload Umlauts.ps1
  3. View Code of Umlauts.ps1

And

  1. Go to script manager
  2. Click new script
  3. Type code write-output "äöüß"
  4. Save new script
  5. View code of new script

And

  1. Go to script manager
  2. Press Edit Code of previously created/uploaded Umlauts.ps1
  3. Add write-output "äöüß"
  4. Try to save

Expected behavior

  1. The script should be uploaded containing the code write-output "äöüß"
  2. The script should be created and have write-output "äöüß" as code
  3. The script should be saved and have write-output "äöüß" as code

Additional context
In previous versions it was possible to at least upload or create a new script containing umlauts, without them being removed from the script

Originally created by @ghosty212 on GitHub (Jul 12, 2021). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/634 Originally assigned to: @sadnub on GitHub. **Server Info (please complete the following information):** - OS: Ubuntu 20.04 - Browser: chrome - RMM Version (as shown in top left of web UI): 0.7.2 **Installation Method:** - [X ] Standard **Describe the bug** Scripts that contain special characters like umlauts "äöüß" cannot be edited/saved Uploading them works without error, but the characters are removed from the scripts. When trying to edit a script and adding those characters, the script can't be saved. **To Reproduce** Steps to reproduce the behavior: 1. Create Umlauts.ps1 `write-output "äöüß"` 2. Upload Umlauts.ps1 3. View Code of Umlauts.ps1 And 1. Go to script manager 2. Click new script 3. Type code `write-output "äöüß"` 4. Save new script 5. View code of new script And 1. Go to script manager 2. Press Edit Code of previously created/uploaded Umlauts.ps1 3. Add `write-output "äöüß"` 4. Try to save **Expected behavior** 1. The script should be uploaded containing the code `write-output "äöüß"` 2. The script should be created and have `write-output "äöüß"` as code 3. The script should be saved and have `write-output "äöüß"` as code **Additional context** In previous versions it was possible to at least upload or create a new script containing umlauts, without them being removed from the script
kerem 2026-03-14 03:40:27 +03:00
  • closed this issue
  • added the
    bug
    fixed
    labels
Author
Owner

@silversword411 commented on GitHub (Nov 26, 2021):

Please retest, there has been lots of changes to scripts

<!-- gh-comment-id:980048036 --> @silversword411 commented on GitHub (Nov 26, 2021): Please retest, there has been lots of changes to scripts
Author
Owner

@sadnub commented on GitHub (Nov 28, 2021):

I just make some modifications to how the scripts are stored in the database. This should help with the special characters. Please test in the next release

<!-- gh-comment-id:981129631 --> @sadnub commented on GitHub (Nov 28, 2021): I just make some modifications to how the scripts are stored in the database. This should help with the special characters. Please test in the next release
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#2350
No description provided.