Hello,
When using the getFileNamesRev function with the paramiter FILTER_FILES the following message appears:
SYS, WARNING, 196, Illegal byte (0xFF) in UTF-8-encoded string, Codepoint::fromUtf8
getFileNamesRev(folder,"*.bak",FILTER_FILES);
What is the problem?
I have a problem with the function getFileNamesRev
- akim
- Posts:42
- Joined: Wed Sep 16, 2015 10:48 am
I have a problem with the function getFileNamesRev
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: I have a problem with the function getFileNamesRev
Which version are you using on which OS ?
The problem you hit might have to do with non-ascii characters in the filenames you are reading, which
we probably already solved in 3.14
The problem you hit might have to do with non-ascii characters in the filenames you are reading, which
we probably already solved in 3.14
- akim
- Posts:42
- Joined: Wed Sep 16, 2015 10:48 am
Re: I have a problem with the function getFileNamesRev
I use version 3.12 and Windows 7 OS. How can I solve my problem?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: I have a problem with the function getFileNamesRev
Hello,
as Martin Koller has written the problem is maybe caused by special characters in the filenames.
Can you please check if the script works when addressing a directory where only one file exists, e.g. about.pnl.
What are the filenames for the directory where the problem occured?
Best Regards
Leopold Knipp
Senior Support Specialist
as Martin Koller has written the problem is maybe caused by special characters in the filenames.
Can you please check if the script works when addressing a directory where only one file exists, e.g. about.pnl.
What are the filenames for the directory where the problem occured?
Best Regards
Leopold Knipp
Senior Support Specialist
- akim
- Posts:42
- Joined: Wed Sep 16, 2015 10:48 am
Re: I have a problem with the function getFileNamesRev
Hello,
This problem occurs when the file name contains the Russian Cyrillic.
I renamed these files. But it would be better to fix this bug.
Thanks for the help
This problem occurs when the file name contains the Russian Cyrillic.
I renamed these files. But it would be better to fix this bug.
Thanks for the help