On 7 December 2010 13:38, Marnen Laibow-Koser <[email protected]> wrote: > Julien wrote in post #966777: > [...] >> My gut tells me it's not an matter of line endings since the strange >> digit appears at the very beggining of the inclusion of the partial >> (or the yield). I don't know much about file system but i suppose >> Komodo was created on Linux and uses some file headers which are not >> correctly understood by Webrick on Windows which then tries to print >> them. > > Since you don't know much about the filesystem, perhaps you shouldn't be > 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? Colin -- 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.

