I removed all non-ascii caracters (éàè°), which were only used in comments. Now the .css generated do not have an @charset directive included, whether I'm on win2008 or win2003. :-)
But I still don't understand why there is no @charset directive included when I'm on win2008 with non-ascii chars... On Mar 21, 9:16 am, TiTi <[email protected]> wrote: > Indeed I have some non-ASCII characters in the stylesheet, mostly > french comments like: > > /* Icone d'upload à la fin des miniatures */ > .uploadAttachment > { > ... > > } > > But I do NOT get the @charset when using the sass command line in > win2008R2, so it's inconsistent. > (I'm not using compass - for now - just the sass command line) > > On Mar 19, 5:10 am, Nathan Weizenbaum <[email protected]> wrote: > > > > > @charset should only be added in two cases: either when a non-ASCII > > character is encountered in the stylesheet, or when a @charset declaration > > is present in one of the input stylesheets. If you're using Compass, it's > > likely the latter; otherwise, perhaps you have some non-ASCII character > > (perhaps an invisible one?) lurking in your stylesheet somewhere. > > > On Thu, Mar 17, 2011 at 6:15 AM, TiTi <[email protected]> wrote: > > > Hi guys, > > > > I'm using sass to generate .css files out of .scss files encoded in > > > UTF8 without BOM. > > > > I have 2 machines: > > > - windows server 2003 > > > - windows server 2008 R2 > > > > With ruby 1.9.1 & haml installed on each machine. > > > > When I'm using win2008, outputed .css are ok. > > > When I'm using win2003, an @charset "UTF-8"; directive is also > > > outputed ! oO! > > > > Can somebody explain me what's going on? > > > Thanks! > > > ++ > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Haml" 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/haml?hl=en. -- You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en.
