19
Views
1
Comments
[File Plugin] Mobile - Cordova File Reader (Error 5 - Encoding)
file-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile
Service Studio Version
11.54.56 (Build 63232)

Hello

I'm creating an Android mobile application and I have a functionality to read the content of multiple files and I'm using the File Plugin from Forge to do the job.

The problem is, the file that I'm trying to read has three colon (:) characters in the name, and for that reason, the Cordova return the error code 5 that means error on the enconding.

This is the name of the file (2024-04-21_18:56:28.txt) and all files have similar names.

When I change the name of the file, and replace all colons (:) for underscore (_), the functionality works perfectly.

I need a solution/workaround for this problem.

Has anyone experienced the same problem?

Change the files names is not an option, because the files was generated by other applications.

Thank you.

2024-11-26 02-40-16
You You

Can someone please answer this quesstion?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.