Skip to main content
Inspiring
July 29, 2020
Question

How do I encode to 1252 Encoding?

  • July 29, 2020
  • 1 reply
  • 1148 views

I need to use 1252 Encoding. The page is already using <meta charset="UTF-8">

In order to make the page <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> is it as simple as taking out the UFT-8 code and replacing it with the 1252 code? Or is there something else I have to do?

 

Since I already created the page using  uft-8, will converting it to 1252 code cause character issues?

 

Edit:I see if I go to New Document > Preferences it brings me to the Default Encoding section. But I do not see charset=windows-1252 to select.

 

Thanks

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    July 29, 2020

    Why must you use Windows-1252?  I ask because it's never used anymore, not since Windows 95.   UTF-8 is the universal charset in HTML5 documents now.  Changing to another charset could damage encoding in other ways, yes.  See link below.

    https://www.w3schools.com/charsets/

     

    Nancy O'Shea— Product User & Community Expert
    AnotherMeAuthor
    Inspiring
    July 30, 2020

    Thanks for your feedback. 

    I can only answer your question by saying, that's what my client has asked for. I am creating HTML form pages for them. And that's what they asked for.  Honestly, if he gave me a reason, I don't recall exactly what it was. I'll ask him again.

    Nancy OShea
    Community Expert
    Community Expert
    July 30, 2020

    Who is the web expert -- you or your client?

     

    Nancy O'Shea— Product User & Community Expert