On Mon, 8 May 2017, nore...@z505.com wrote:

With simpleipc you can send a string.

I am wondering what type of string is safe to send?

i.e. what happens with utf8 or unicode?

If both sender and receiver use the same defaultsystemcodepage, it should
transfer fine.


Is it meant to send a regular string (like a pointer to char) and not more complex strings? Both?

Because if a string is being sent across two different separate processes (exe's) and possibly in different programming languages (when I make simpleipc DLL) it will be handy to know what exact type of string this communication is meant for: english characters, unicode, utf8, all of the above.

Regard it as an array of bytes and you'll be fine.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to