Page 1 of 1

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

Posted: 02 May 2022 13:54
by Norn
I don't know if it's a problem? Usually I drag items to the paper folder.

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

Posted: 02 May 2022 16:27
by admin
Explain it in words and, if helpful, append example files to download, please.

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

Posted: 02 May 2022 18:10
by Norn
Open .txt file as a paper folder, it's a empty paper folder.

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

Posted: 02 May 2022 18:24
by Norn
Can be opened using readfile() and paperfolder() by scripting.

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

Posted: 02 May 2022 18:32
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

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

Posted: 02 May 2022 18:52
by admin
Is this a new issue?

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

Posted: 02 May 2022 19:12
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.

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

Posted: 04 May 2022 16:09
by admin
I assume it is fixed now?

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

Posted: 04 May 2022 16:27
by highend
Works fine here