Re: Page encoded as UTF-8

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ronx (ronx917_at_hotmail.com)
Date: 11/03/04


Date: Wed, 3 Nov 2004 08:33:03 -0000

in the <head> section of the page you may see a meta tag similar to
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

The page's encoding is whatever follows charset=
without the closing ".

If this meta tag is not present, leave the Google code as it is, and see if
there are any problems with the page rendering. Any problems will show up
with some characters displaying as a query mark (?).
Post back here if that happens, including a link to your published web site.

-- 
Ron Symonds   (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.
"Jeremy" <jeremybbutler@hotmail.com> wrote in message 
news:ehhNt%23UwEHA.1148@TK2MSFTNGP12.phx.gbl...
>I am trying to put the Google site search code into my site. Google's 
>instructions at http://www.google.com/searchcode.html#both say that if my 
>page is not encoded as UTF-8, I should change the value of the fields in 
>their code to match my page's encoding.
>
> How do I know how whether my page is encoded as UTF-8, or as something 
> else?
>
> Many thanks for your help!
> 


Relevant Pages

  • Re: character sets
    ... i had a similar problem and solved it by encoding my index.html ... with utf-8, by adding this meta tag: ... now every odd characters i add to database through web form are ...
    (comp.lang.php)
  • Re: automating the SQL warning and the choice of text format
    ... automatically select 'yes' and 'utf-8' rather than changing the registry, ... In order to get the correct encoding, I believe that you have to do the ... You need one of those for each data source. ... For a comma-delimited file using UTF-8 encoding, ...
    (microsoft.public.word.mailmerge.fields)
  • Re: DBD::ODBC and character sets
    ... you have and accept UTF-8 encoded data does mean you need to "use ... encoding" but if your script is encoded in xxx you need "use encoding ... Perl sees the left-hand side of eq as a string literal containg sixcharacters encoded as ISO-8859-1 ...
    (perl.dbi.users)
  • Re: PEP 263 status check
    ... > chosing windows-1252 as the source encoding. ... in the string module, the string methods and all through ... encoded data (including utf-8 encodings) ... character that is outside of the 7-bit ascii subset. ...
    (comp.lang.python)
  • Re: convert from utf-8 to unicode(excel)
    ... Is there a possibility to properly convert under Windows from utf-8 ... encoding to unicode ... There is no problem in conversion when I do it in Notepad. ... a file marking encoding as UTF-8 and then save it marking encoding as ...
    (comp.editors)