Encoding Problems with special characers (ä, ü, ö...)

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
212307
Posts: 4
Joined: Wed Feb 07, 2018 11:40 am

Encoding Problems with special characers (ä, ü, ö...)

Post by 212307 » Fri Apr 12, 2019 8:10 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: v5.6.161
32 or 64 bit version of product: 64-Bit
Operating system: Windows 10
32 or 64 bit OS: 64-Bit

*** Please add details and screenshots as needed below. ***

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM



I have a Powershell Projekt with a GUI Form created and developed with Powershell Studio 2019.

When I Deployed it as EXE, there is a encoding issue with special characers (Switzerland)

When I Start the Script within the Powershell Console, everything is working fine.

A similar Case i found here: viewtopic.php?t=13762

Powershell Studio shows me for all files of the project 'UTF-8' as encoding at the right-bottom corner.

Do you have a recommendation what I have to do?
Bild_2.png
Bild_2.png (7.73 KiB) Viewed 477 times
Bild_1.png
Bild_1.png (11.17 KiB) Viewed 477 times

User avatar
Alexander Riedel
Posts: 6861
Joined: Tue May 29, 2007 4:43 pm

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by Alexander Riedel » Fri Apr 12, 2019 8:20 am

Please switch the encoding to UTF-8-BOM and see if that makes a difference.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
212307
Posts: 4
Joined: Wed Feb 07, 2018 11:40 am

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by 212307 » Fri Apr 12, 2019 8:49 am

With UTF-8-BOM is the same issue....

User avatar
davidc
Posts: 5801
Joined: Thu Aug 18, 2011 4:56 am

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by davidc » Fri Apr 12, 2019 8:54 am

If you can, please zip the script with the psbuild file and upload it here:

https://www.sapien.com/support/upload
David
SAPIEN Technologies, Inc.

User avatar
212307
Posts: 4
Joined: Wed Feb 07, 2018 11:40 am

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by 212307 » Fri Apr 12, 2019 11:37 am

Hey David, thank you for your answer¨

I have just uploaded the project. Maybee you can reproduce this issue. Thank you!

User avatar
davidc
Posts: 5801
Joined: Thu Aug 18, 2011 4:56 am

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by davidc » Fri Apr 12, 2019 1:27 pm

I was able to reproduce the issue and we are investigating.
David
SAPIEN Technologies, Inc.

User avatar
davidc
Posts: 5801
Joined: Thu Aug 18, 2011 4:56 am

Re: Encoding Problems with special characers (ä, ü, ö...)

Post by davidc » Fri Apr 19, 2019 6:47 am

The v5.6.162 service build is now available and should resolve this issue.
David
SAPIEN Technologies, Inc.