> What is actually in the output - utf8 or iso latin 1 (ie look at the
> generated html with a hex editor) ?
> 
> Fred

I believe it to be iso-8859-1.

I viewed the page source and saved it to disk.  I hope the relevant 
sections are

- - - - - - -
(From the program WinHex which examined the page source

Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

00000DE0   66 69 72 6D 61 74 69 6F  6E 22 3E 4B 65 6E 6E 77 
firmation">Kennw
00000DF0   6F 72 74 62 65 73 74 E4  74 69 67 75 6E 67 2A 3C 
ortbestätigung*<
00000E00   2F

- - - - - - -

(From the screen)

Kennwortbest�tigung*

- - - - - - -                                                 /



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//DE"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="de" lang="de">
  <head>
    <meta http-equiv="Content-Type" content="text/html; 
charset=iso-8859-1">
    <title>Sign Up</title>
    <link href="/stylesheets/application.css?1264903648" media="screen" 
rel="stylesheet" type="text/css" />
<link href="/stylesheets/formtastic.css?1265580898" media="screen" 
rel="stylesheet" type="text/css" />
<link href="/stylesheets/formtastic_changes.css?1265580898" 
media="screen" rel="stylesheet" type="text/css" />
    <script src="/javascripts/jquery-1.4.1.js?1264986334" 
type="text/javascript"></script>
<script src="/javascripts/application.js?1263055671" 
type="text/javascript"></script>


          <!-- Footnotes Style -->
        <style type="text/css">
          #footnotes_debug {margin: 2em 0 1em 0; text-align: center; 
color: #444; line-height: 16px;}
          #footnotes_debug th, #footnotes_debug td {color: #444; 
line-height: 18px;}
          #footnotes_debug a {text-decoration: none; color: #444; 
line-height: 18px;}
          #footnotes_debug table {text-align: center;}
          #footnotes_debug table td {padding: 0 5px;}
          #footnotes_debug tbody {text-align: left;}
          #footnotes_debug .name_values td {vertical-align: top;}
          #footnotes_debug legend {background-color: #FFF;}
          #footnotes_debug fieldset {text-align: left; border: 1px 
dashed #aaa; padding: 0.5em 1em 1em 1em; margin: 1em 2em; color: #444; 
background-color: #FFF;}
          /* Aditional Stylesheets */
            #queries_debug_info table td, #queries_debug_info table 
th{border:1px solid #A00; padding:0 3px; text-align:center;}
  #queries_debug_info table thead, #queries_debug_info table tbody 
{color:#A00;}
  #queries_debug_info p {background-color:#F3F3FF; border:1px solid 
#CCC; margin:12px; padding:4px 6px;}
  #queries_debug_info a:hover {text-decoration:underline;}

        </style>
        <!-- End Footnotes Style -->
</head>

- - - - - --


I have run Mongrel and Webrick and I get the same results.

I Have run Firefox and IE ... almost the same results

What's the magic formula for getting the rendering engine to think that 
the page source is iso-8859-1?

Once I get that done then I will want to know how to get Ruby/Rails to 
generate UTF-8 and/or Unicode.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to