Can't open paper folder from txt file with non-English contents

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Can't open paper folder from txt file with non-English contents

Post by Norn »

I don't know if it's a problem? Usually I drag items to the paper folder.
To see the attached files, you need to log into the forum.
Last edited by Norn on 02 May 2022 18:04, edited 2 times in total.
Windows 11 24H2 @100% 2560x1440

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can't open paper folder from txt file with non-English contents

Post by admin »

Explain it in words and, if helpful, append example files to download, please.

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open paper folder from txt file with non-English contents

Post by Norn »

Open .txt file as a paper folder, it's a empty paper folder.
To see the attached files, you need to log into the forum.
Windows 11 24H2 @100% 2560x1440

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open paper folder from txt file with non-English contents

Post by Norn »

Can be opened using readfile() and paperfolder() by scripting.
To see the attached files, you need to log into the forum.
Windows 11 24H2 @100% 2560x1440

highend
Posts: 14992
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Can't open paper folder from txt file with non-English contents

Post by highend »

@Don

If that .txt file is read via readfile() and it's only content is:

Code: Select all

D:\¥
The paperfolder (for which the syntax is wrong^^) that is created doesn't show that file afterwards

It seems paperfolder() doesn't like the multi-byte character for some reason

If you use a .txt file (to read) with:

Code: Select all

R:\!1.txt
R:\¥
or

Code: Select all

R:\¥
R:\1.txt
both work fine so it can't be the position of
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can't open paper folder from txt file with non-English contents

Post by admin »

Is this a new issue?

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can't open paper folder from txt file with non-English contents

Post by admin »

That file "Open this file as a paper folder.txt" is wrongly encoded. How was it created?

Wait... :maf: ... okay, I don't think that UTF-8 support is in the docs for those PF files. I now added it and the file "Open this file as a paper folder.txt" works. Fingers crossed there are no side effects.

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can't open paper folder from txt file with non-English contents

Post by admin »

I assume it is fixed now?

highend
Posts: 14992
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Can't open paper folder from txt file with non-English contents

Post by highend »

Works fine here
One of my scripts helped you out? Please donate via Paypal

Post Reply