UTF-8 encoding in order for the special Russian characters.

  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 26, 2003
  • Posts: 160
  • Loc: Chicago, IL.
  • Status: Offline

Post August 18th, 2009, 9:49 am

ALL,

I am adding 3 new Russian language html pages to a current English language html site.
For those 3 new Russian language html pages only I need to apply UTF-8 encoding in order for the special Russian characters to show in the browser windows. I know the UTF-8 encoding goes into a Meta tag, but I am not sure how the line is written and/or added to the Meta tag.

DTD XHTML Transitional

Is there anything or any line in the DTD XHTML Transitional I need to updated for the Russian language html pages to show in the browser windows?

Thank you,

cgfX
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 18th, 2009, 9:49 am

  • AssistantX
  • Born
  • Born
  • No Avatar
  • Joined: Aug 18, 2009
  • Posts: 2
  • Status: Offline

Post August 18th, 2009, 12:20 pm

Use: <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  • CGFX
  • Graduate
  • Graduate
  • User avatar
  • Joined: Oct 26, 2003
  • Posts: 160
  • Loc: Chicago, IL.
  • Status: Offline

Post August 19th, 2009, 5:22 pm

AssistantX,

Thank you for your help, this did not work for me either.
Should I put the encoding on all pages of just the one I am working with the special characters?

Thank you,

cgfx
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post August 20th, 2009, 2:42 am

Make sure you save the page in UTF-8 format. This is critical and something many people either forget to do or don't realise has to be done.

If you were using notepad when you save the file make sure you select "UTF-8" from the encoding drop-down menu. Other editors like Notepad2 can be set to save in UTF-8 by default.

Image
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post August 20th, 2009, 2:49 am

You'll also want to look at the HTTP headers in something like Firefoxes Live Headers extension after you have the pages up to make sure the server is not sending a default character set which may be the wrong set, in the Content-Type header.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 138 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.