Skip to main content
Participant
October 15, 2024
Question

Dreamweaver adds incomprehensible text to my code when I FTP it to the server

  • October 15, 2024
  • 2 replies
  • 478 views

Hello everyone,
I'm still using CC 2014 because I'm working in asp classic (I'm a dinosaur) and newer versions don't support asp code coloring. I do have an Adobe subscription.
In short, since today, every time I send files that I'm modifying to the server, I've had texts like this added to my code:

 

E��~K�@�$�lhV��� T%饛���`��‗�Xr����4�- f,� ���d�+�͖͜�%Nk"�CS���h.��= +nepk^�$|�t����c v��c�&sN�a���\�wrl�Q�O1t\�C6R�r�|���D�K�Q�����k f�6�ӱ'`�%X�ޮ�ͭ<t`�u�1��b�gʻ?����;���ał�j��g���r�!�*pa�^ t8�q�ܞ2u}��b׀�^�a;<�5p�5`���䱡��r���l�u{="�pEM��M��Rl3�X�ֱ">뼷C����X�jO(���c�|��T]</t`�u�1��b�gʻ?����;���ał�j��g���r�!�*pa�^>

 

I can't figure out where it's coming from.
I've cleared Dreamweaver's cache, but what else can I do?
Does anyone have any ideas?

This topic has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
October 15, 2024

That's an indication that you're using the wrong Character set in your document(s).

https://www.w3schools.com/html/html_charset.asp

 

UTF-8 is universal. Problems ensue when you mix Latin ISO-8859 entities with UTF-8 encoding, or vice versa.

Decide which character encoding you need, and be consistent with it throughout your site. Save and republish your site pages.

 

Hope that helps.

 

 

 

 

Nancy O'Shea— Product User & Community Expert
Participant
October 18, 2024

Thank you Lena and Nancy

Thank you for taking the time to reply to this message. No, it has nothing to do with encoding. It seems to be the computer that's at fault, since if I modify a page and transfer it to another computer, then uplink to the server from that second computer, everything's normal.
Difficult to understand

Nancy OShea
Community Expert
Community Expert
October 18, 2024

Windows, Mac or Unix?

Edit > Preferences > Code Format > Line Break Type:  Choose the one that's compatible.

 

I work on a Windows 11 machine. See screenshot.

 

 

Nancy O'Shea— Product User & Community Expert
Community Expert
October 15, 2024

Ensure your file is saved with the correct encoding, preferably UTF-8 without BOM. You can check and change the encoding using text editors like Notepad++, Visual Studio Code, or other ones that provide encoding options, if you can't when using DW. This will help ensure that the server interpret the file contents correctly.


Consult the server logs to identify any errors reported while processing the ASP file. Logs often contain error codes or messages that can point you in the right direction for troubleshooting.


What happen if you don’t edit the file, but create a fresh new one and just display an "Hello, World"? What goes on then?