$get text file encoding

Allows you to get the encoding of a text file.


Example

Running this code will get the encoding of the file "C:\Users\user\Desktop\TEST.csv".

The encoding of the text file is "US-ASCII" as shown in the alert box.

alert($plugin function("Data and Files Automation.dll", "$get text file encoding", "C:\\Users\\user\\Desktop\\TEST.csv"))

Was this helpful?

Previous Article

$get text between

Next Article

$html attributes