Jump to content
Sign in to follow this  

does FileReadToArray() detect file encoding automatically?

Recommended Posts

the help file states: "... functions such as FileReadLine..." regarding functions that automatically detect the file encoding. which are the other "such" functions? is FileReadToArray() one of them?

i'm also unsure on how to test this. i used a simple script to FileOpen() a new text file with all encoding formats mentioned in the FileOpen() help. then i used FileReadToArray() to read it - i get back a good result for all encoding formats. so either FileReadToArray() is detecting the encoding properly, or i'm testing it wrong. how can i be sure?

EDIT: that's my test script. using 128,64,32,16 instead of 256 for encoding formats.

#include <Array.au3>



Edited by orbs

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...