Download MetaTrader 5
To add comments, please log in or register
Sell products via the Market and track your sales statistics
Carl Schreiber
5927
Carl Schreiber 2014.06.07 10:14 

Hi,

I have to send and will receive ASCII - code from/to the other side of a named pipe.

Here https://www.mql5.com/en/docs/constants/io_constants/codepageusage

I found lots of encodings - but which one is the old fashioned ASCII ?

Thanks in advance,

Gooly

whroeder1
13593
whroeder1 2014.06.07 16:26  
Code page is irrelevant. You have to convert your strings (Unicode) to ASCII. and back.
Carl Schreiber
5927
Carl Schreiber 2014.06.07 16:59  

But to convert a string from Unicode to ASCII and vice versa I use StringToCharArray and that needs a code page!

/
To add comments, please log in or register