cancel
Showing results for 
Search instead for 
Did you mean: 

Character-set broken upon unzipping a file using VBO

HongJooChoi
Staff
Staff
Hi, all.

We're using "Utility - Windows Compressed File" VBO for unzip a compress file.
The result is as  below:

19552.pngAny one knows how to prevent the character from being broken?
Or Is there any other VBO or ways working without a concern for the character-set?


Best regards

------------------------------
HongJoo Choi
------------------------------
2 REPLIES 2

PabloSarabia
Level 11
Hi @HongJooChoi

I face this problem before... also in spanish we have special characters that broke when you try to compress.

The problem here is with the internal library that use this VBO ​(The System.IO.Compression one)

You have many ways to solve this. But the better in BP is using a simple code in Power Shell to compress the file.

As you can see here, I have several special characters in this paths:

19546.png
The command in power shell, looks like this:

Compress-Archive -LiteralPath "C:\Blue Prism" -DestinationPath "C:\Blue Prism\file.zip"


Here is the result:

19547.png


Hope this helps you!

See you in the Community, bye 🙂 



------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------

@HongJooChoi, @PabloSarabia,

There is an open ticket with Microsoft regarding incorrect handling of locale in System.IO.Compression. You can review it at the link below.

https://github.com/dotnet/runtime/issues/43231

Cheers,
​​

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------