Atelier - Error when "copy to project" a HTML file
Hi,
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?
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 support@intersystems.com or calling +1 617-621-0700).
WRC created now! Thanks.
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.
Completing Lucas Scarduelli's answer. The solution we found was to change the accent characters (ex: á, é, í, ó, ú, ç ..) by entity characters (https://developer.mozilla.org/en-US/docs/Glossary/Entity).
We did a test creating an HTML file with no accented character and imported it without error.
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: