Home > Back-end >  Master for help!!!!!! Tencent cloud
Master for help!!!!!! Tencent cloud

Time:09-15

Written in Delphi 10 a small app, use datasnap + app, in AnZhuoDuan photos uploaded to the middle tier, save the file on the middle tier to the mysql database times address errors,
In the local LAN everything is normal, the cloud server transport is always an error,
1, directly to the database longblob field holds error
2, and the way in shing ZhuoDuan sends a Stream to the server on the server to save the Stream into image file, the file save properly, but also complains middleware,

All normal in the local LAN, please expert advice,

CodePudding user response:

Way didn't try, also do not want to do, usually only two, will not go wrong, you are saved file, the save and then do what kind of work, should be this part of the problem,
Local networks in normal, the difference between the two is that the network server environment, you try to upload photo changed a little bit small,

CodePudding user response:

Estimation is a problem of character encoding, use UTF unicode characters in Windows - 16 coding, and Linux/Unix unicode encoding is by default UTF - 32, android is to use the Linux kernel
  • Related