Product, version and build: primalpad 2.4.63
(*** Please do not write "latest" as a version, specify a version number ***)
32 or 64 bit version of product: 64 bit
Operating system: windows 2008 R2 and windows 10
32 or 64 bit OS: 64
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
if use primalpadto to modif and save the file and the file include traditional Chinese.
The file will not be normal and can not be executed by powershell.
the original file is edit by PPS2017.
primalpad can't handle the file, if the file include Traditional Chinese
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: primalpad can't handle the file, if the file include Traditional Chinese
Please attach the original file and the corrupted file so we can compare. Since we do not really know traditional Chinese it is hard for us to determine this any other way.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
Re: primalpad can't handle the file, if the file include Traditional Chinese
original file and the corrupted file is attach.
- Attachments
-
- XintecMailDetected-byprimalpad.ps1
- (14.94 KiB) Downloaded 414 times
-
- XintecMailDetected.ps1
- (14.95 KiB) Downloaded 404 times
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: primalpad can't handle the file, if the file include Traditional Chinese
They seem to be fairly the same. Obviously I cannot read the chinese parts. Some kind of pointer at to what the problem actually is would be appreciated.
You say "The file will not be normal and can not be executed by powershell." I do not really know what that means. Can you please be a little bit more specific?
You say "The file will not be normal and can not be executed by powershell." I do not really know what that means. Can you please be a little bit more specific?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
Re: primalpad can't handle the file, if the file include Traditional Chinese
I mean that when the file is save by primalpad, the ps1 can not be executed.
An error message will be displayed.
An error message will be displayed.
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
Re: primalpad can't handle the file, if the file include Traditional Chinese
i find where is problem.
Please use the hex editor to open two files and observe the first three bytes
Normal file The first three bytes are ef bb bf, indicating that this is a UTF-8 file.
But after the pnimalpad archived file, the UTF-8 flag is missing.
Please use the hex editor to open two files and observe the first three bytes
Normal file The first three bytes are ef bb bf, indicating that this is a UTF-8 file.
But after the pnimalpad archived file, the UTF-8 flag is missing.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: primalpad can't handle the file, if the file include Traditional Chinese
Thank you for the update. Both files you sent are shown at UTF-8 here, but I will look into it. In the meantime, please try unicode files. It is generally a better option for this type of situation anyway.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
Re: primalpad can't handle the file, if the file include Traditional Chinese
try unicode files? but Primalpad has no option to let me choose to archive to UTF-8 format.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: primalpad can't handle the file, if the file include Traditional Chinese
Sure does.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- jason@sbtc.com.tw
- Posts: 26
- Last visit: Wed Jan 17, 2024 11:18 pm
Re: primalpad can't handle the file, if the file include Traditional Chinese
Hi
it is not work.
open the normal file show me the Encoding is UTF-8.
than save the file.
get same problem.
it is not work.
open the normal file show me the Encoding is UTF-8.
than save the file.
get same problem.