Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-07 Thread Christian Grün
Hi Srikumar, > 3. Without "" encoding line in XML > file, we are failing store XML file(i.e., ISO-8859-1 encoded file) with below > error: > [FOUP0002] > "C:/Sharath/outputxml_0601800029e2p.xml" (Line 1): Invalid byte 1 of > 1-byte UTF-8 sequence. Have you revised

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-06 Thread Christian Grün
Please note that your code has various flaws that might lead to the erroneous result. For example, you should avoid calling String.getBytes, as it will use the default character encoding of your platform, not necessarily UTF-8 (see [1]). I have attached the output that I get for your updated examp

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-05 Thread Christian Grün
> > Please find the attached zip, which contains the sample program for > replicating the encoding issue with the provided datafiles. > Could you please review the provided sample and help me in resolving > this issue. > After having created "testenvSSL1" database, and after having fixed your loc

Re: [basex-talk] [EXTERNAL] - Re: Re. Encoding support for the BaseX server

2020-09-03 Thread Christian Grün
Hi Sharath, I would appreciate if you could spend some more time on preparing code (e.g. a Java class) that we can run out of the box. This way, we can ensure that the problem is really caused by BaseX, and not the framework you might be using. Thanks, Christian On Thu, Sep 3, 2020 at 4:43 PM Sha