Errors, bugs, questions - page 2825

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.