#1 2011-03-11 08:31:06

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Write the server in D7 and clients in D2010?

Hi Ab,

Will there any problems (encoding, for example) if the server is written in D7 and some of the clients are written in Unicode-enabled Delphi versions, such as D2010, in order to access some new functions?

Thanks!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2011-03-11 17:38:03

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: Write the server in D7 and clients in D2010?

No problem should occur, because UTF-8 JSON will be used during the client/server connection.

Only if your own code is UTF-8 safe: that is use RawUTF8 for data storage and handling, then explicitely convert to the generic string type on purpose.

Please see the documentation about string type handling, and how the main demo is doing this.

Offline

#3 2011-03-12 02:18:06

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Write the server in D7 and clients in D2010?

Thanks for the info, Arnaud!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB