UTF Byte Order Mark

Raoul Millais's Avatar

Raoul Millais

20 Aug, 2010 11:21 AM

Currently the lessc compiler throws an error on the first character when the source file is saved as UTF-8 with the byte order mark (signature). This is common on many windows IDEs (including Visual Studio which does not as yet have a global default encoding setting, which means you have to remember to go and save with encoding for each and every less file) Would it be possible to fix this please? I imagine this will be confusing for people who do not undertstand the vagaries of different UTF-8 file encodings.

Kind Regards,

Raoul

  1. 1 Posted by Josh Close on 02 Feb, 2012 10:54 PM

    Josh Close's Avatar

    This still seems to be an issue. Is there any chance of this being fixed?

  2. 2 Posted by Michael J. Ryan on 09 Jul, 2012 10:09 PM

    Michael J. Ryan's Avatar

    +1 on this... it'd be really nice if the stream were checked for FEFF, or just ignore those two bytes if they're the beginning of the stream... Not sure if this should be fixed within the node streams, or if it should be a lessc thing.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac