Не сохраняет кодировку файла

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Не сохраняет кодировку файла

Postby reslear » Sun Dec 04, 2016 9:40 pm

don't save Encoding file
please see video: https://www.youtube.com/watch?v=_mXT3tmNTf8

Вот что я узнал экспериментируя: Если добавить русские буквы ( например в комментарий ), то сохраняет в utf-8 без bom, как положено
reslear
 
Posts: 6
Joined: Sat Nov 12, 2016 10:46 am
Location: Belarus Minsk

Re: Не сохраняет кодировку файла

Postby Aivars » Mon Dec 05, 2016 10:58 am

It's normal - in byte level there is no difference between ANSI and UTF-8 bomless files, unless you use non-ANSI characters. Only once you start using non-ANSI characters (e.g. russian letters), there will be any difference.

From FAQ (http://www.webuilderapp.com/support-answer.php?tid=111):

While files encoded in UTF-8 with BOM contain BOM (Byte Order Mask) which is an invisible string of bytes that acts as an indicator that the file contains UTF-8 text, files encoded in UTF-8 without BOM do not contain this indicator and the only way of detection is analyzing the contents of the file.

According to the UTF-8 specification, UTF-8 text is simply an ANSI text where each language-specific character is replaced by two special (human-unreadable) characters which are displayed as a single readable language-specific character when the file is open in a compatible editor. This means that an UTF-8 file with no language-specific characters actually IS an ANSI file and there is no way to tell otherwise unless the file contains BOM or some other valid indication, such as HTML meta encoding tag.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron