Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I encode to 1252 Encoding?

Advocate ,
Jul 29, 2020 Jul 29, 2020

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

983
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2020 Jul 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 & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jul 30, 2020 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2020 Jul 30, 2020
LATEST

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

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines