lesscss-java icon indicating copy to clipboard operation
lesscss-java copied to clipboard

Add the ability to specify the input encoding for the LessCompiler.

Open NateHark opened this issue 12 years ago • 4 comments

Defaults to the default encoding if not specified. This is useful when using LESS files that contain non-ASCII content such as those provided by font libraries such as Fontello, on a system whose default encoding is not UTF-8.

NateHark avatar May 13 '13 04:05 NateHark

Hi! Can you do me a favour? Can you redo it from the latest master as i would need to merge. thanks

cpopov avatar Aug 16 '13 16:08 cpopov

Sure. I'll give it a shot.

NateHark avatar Aug 19 '13 04:08 NateHark

This change breaks the API. Could you keep the get/setEncoding method and maybe have it set both input and output encoding at the same time? You can keep your setInputEncoding and setOutputEncoding as well, just don't get rid of get/setEncoding.

bbrouwer avatar Sep 05 '13 12:09 bbrouwer

@bbrouwer That makes sense. I'll keep that in mind when reimplementing.

NateHark avatar Sep 07 '13 20:09 NateHark