Saving as UTF-8 code - Post ID 250290

User 287067 Photo


Registered User
8 posts

I am not using HTML editor for few months now because I can not save my work as UTF-8 code. Could we expect this save-option soon?

Janez Toplisek
User 103173 Photo


VP of Software Development
0 posts

The software automatically saves as UTF-8 now. That was one of the big features in the 2010SE version.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2745479 Photo


Registered User
2 posts

Hi
hm ... I have CoffeeCup HTML Editor Version 14.1 build 741.
After saving the file and open it again in Notepad++ its telling me file format is UTF-8 w/o BOM.
And this without BOM makes firefox (38.0.5) to show special German charaters wrong.
I have to convert the file in to UTF-8 (with BOM) then it works.
How can I save this kind of UTF-8 format with CoffeeCup?

Thank youi and best regards
Rolf
User 1948478 Photo


Senior Advisor
1,850 posts

Rolf,
I routinely use northern European umlaut characters as well as southern European accented characters and have never encountered the problem you are describing with the HTML Editor.
Did you specify the character set in a <meta> tag, e.g. like this, or similar:
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
.....

Does the problem show up in local preview as well as in uploaded pages? Is this a problem only with Firefox or with other browsers also?

Did you validate the html file to make sure that there is no glitch in the markup that may prevent the character set from being properly recognized?

Briefly scanning a Google search, it seems that the BOM should not be needed, or is even "not recommended", for a file where utf-8 is explicitly specified.
User 2745479 Photo


Registered User
2 posts

Hi Per,
Thank you for the answer.
No, I havened and it is not neccessary when the file is saved as utf-8 and not aas utf-8 w/o BOM

I have .php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
----
So language is en but as I said saving as clease utf-8 will handle both correctly en and de.

My question is still: Is it possible to do save in format utf-8 and not utf-8 w/o BOM?

thank you and best regards
Rolf

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.