Problem solved, thanks to François and Eric. The problem came from StreamReader function: by default, chosen encoding format is set to UTF-8. We also discovered that data are not corrupted when imported in MEGA, but when the program reads the source file. StreamReader sr = new StreamReader(filetoimport); has to be replaced by: StreamReader sr = new StreamReader(filetoimport, Encoding.getEncoding(28591)); "28591" is the code corresponding to "Latin1_General_CI_AS". I really want to thank both of you for your availability.
... View more
Note that in standard HOPEX installation a certificate is installed with expiration on 3rd of February 2020. If your installation cease to work, please have your administrator sign-in and download the new certificate. Thank you for your understanding. Download Certificate+