Colin Law wrote in post #966863:
> On 7 December 2010 13:38, Marnen Laibow-Koser <[email protected]>
> wrote:
>> making silly speculations. Komodo does no such thing AFAIK.
>>
>> What *might* be going on is that your file is being saved as UTF-8 with
>> a byte order mark (BOM) at the beginning. That shouldn't cause
>> problems, but try changing the encoding to UTF-8 without BOM and see
>> what happens.
>
> Jumping the gun I know, but if it were the BOM then would that be a
> bug in rails as a BOM at the start of a partial should not be sent out
> to the browser, should it?

It actually shouldn't matter.  The BOM was chosen rather cleverly: it's 
U+FEFF ZERO-WIDTH NONBREAKING SPACE, so it should have no typographical 
effect whatsoever.  But maybe the browser is detecting it as whitespace, 
or maybe there's a further encoding issue.  Or maybe something else is 
going on.

>
> Colin

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

-- 
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