Frank Bear: int file = FileOpen(filedump, FILE_WRITE | FILE_TXT);
You created a Unicode (2 bytes per character) text file, not an ANSI (one byte per character) text file as expected on *nix.
Thanks, do you know what i need to do in order to change what file mql prints?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I'm writing to a file....
int file = FileOpen(filedump, FILE_WRITE | FILE_TXT);
Then its the print line...
after i copy this to a linux server ... I get this error when importing this into mysql...
ERROR: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode to 1 if ASCII '\0' is expected. Query: '��I'.
When i open up the file in nano or vi, those questionmarks are not there. But if I cat the file, they are... seems to be created from the mt5 program when it writes to the file?
any help would be appreciated ...