Jump to content

Dreamweaver and Special chars


jorgep

Recommended Posts

Hi, I wonder what could happen with my special chars in dreamweaver...

 

I have a php file with defined constants for multilanguage porpouse, I have Spanish, Portuguese and English included. In my Spanish and Portuguese files, that look like this:

define('_VPPIN','Contraseña');
define('_VPCODE','Código de Verificación');
define('_VPENTRAR','Entrar');
define('_VPENVIAR','Enviar');

 

I've been working lately with the charsets encodings... Today I noticed that my files looked a little diferent, ALL THE SPECIAL CHARACTERS WERE "CHOPPED"!

 

Now It look like this:

define('_VPPIN','Contrasea');
define('_VPCODE','Cdigo de Verificacin');
define('_VPENTRAR','Entrar');
define('_VPENVIAR','Enviar');

 

Note that the ñ and ó and all the special characters are missing!!!

 

What can I do? I dont know what happened! Can Anyone explain?

Link to comment
https://forums.phpfreaks.com/topic/41852-dreamweaver-and-special-chars/
Share on other sites

I was looking that property of the page and I think that it was UTF8. I tried reloading the file in Occidental European and It change the characters, but does not delete them... Im using right now the UTF8.

 

I was traying to add chinesse support to our website, so I might need them for that. Is there a way I can have my files back?

You may be able to recover by saving the file as Latin-1 (ISO-8859-1). I'm guessing you copied these characters from Character Map or used a keyboard combination. Either way, you're (1) not in UTF-8, or (2) your editor is not displaying properly. What do you see for these characters when opening the file in a hex editor or running it through od -cx on Unix?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.