Lucas Boeing Sc... · May 30, 2018

Atelier - Error when "copy to project" a HTML file


I have a Caché project with some HTML files in a CSP folder.

Using Atelier when I access "Server Explorer" and execute the option "Copy to Project" to my local project I have this error:

Has anyone had this same problem? Any solution?

1 321
Discussion (5)4
Log in or sign up to continue

I just took a quick look through some past InterSystems Support cases. I haven't seen this error reported to the WRC before.

There is not an obvious/general reason for this error. I would suggest opening a WRC case to investigate this issue on your system (either by emailing or calling +1 617-621-0700).

This problem is being seem with Intersystems via WRC, in our test we find another situation about this problem.

The problem only happen when I have in file content any accented character, which is very common in the pt-BR.

I've been working with Lucas S. on this in a WRC case. We believe that the source of the issue has to do with the encoding of the file, as compared to the file's contents and the encoding of the Eclipse workspace/Atelier Project/file in Atelier.

Copying this problem file into an Eclipse-only (non-Atelier) project does result in display issues until the file's encoding is changed within Eclipse. To change a file's encoding you can right-click the file in the Atelier or Project Explorer, click Properties and change the "Text file encoding" settings under the Resource section.

While there are workarounds*, you should be allowed to import these files into an Atelier project. The Atelier development team is reviewing this.

*Workarounds we've found in our investigation:

  • Run an iconv command on the file on disk to change its encoding
  • Change accented characters to their corresponding HTML entities,
  • Manually copy the HTML file from the CSP physical files directory into the Atelier project directory on disk, then change the file's encoding within Eclipse to avoid display issues