fxsaber: Did it this way. But I don't know if this condition is always correct.
this token is optional and is different for LE, BE and UTF8. if it is missing, you can theoretically count the number of null bytes in some initial chunk of the file
this token is optional and is different for LE, BE and UTF8. if it is missing, theoretically it is possible to count the number of null bytes in some initial piece of file
Considered this workaround, thanks. Seems to be the only way to do it.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
What's wrong with the code ?
I'd also rather not answer than explain the perniciousness of working with a generic character list.
I'd rather not answer either, than explain the perniciousness of working with a generic character list.
In private
isthe syntax highlighting on the website glitchy?
b.highlight is not a function
There is a text file, but the encoding is unknown beforehand. Accordingly, we need to determine which flag to open it with: FILE_ANSI or FILE_UNICODE.
Who has one, please share a bicycle on the subject.
There is a text file, but the encoding is unknown beforehand. Accordingly, we need to determine which flag to open it with: FILE_ANSI or FILE_UNICODE.
If you have one, please share your bike on the subject.
Aren't there any encoding labels inside the file?
Sometimes Unicode has an encoding label in the first 2 bytes.
There is also VinAPI IsTextUnicode like this https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-istextunicode
Did it this way. But I don't know if this condition is always correct.
this token is optional and is different for LE, BE and UTF8. if it is missing, you can theoretically count the number of null bytes in some initial chunk of the file
this token is optional and is different for LE, BE and UTF8. if it is missing, theoretically it is possible to count the number of null bytes in some initial piece of file
Considered this workaround, thanks. Seems to be the only way to do it.