aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Add support for user defined file encoding #64

Closed CasiOo closed 6 years ago

CasiOo commented 8 years ago

Currently only UTF-8 is supported for any kind of file bundling. My suggestion is to let the user override the default UTF-8 setting, and let them define it themselves.

There are always some people who won't be using UTF-8, and they are often overlooked. UTF-8 should be the encoding that most will be using, but lets not make it any more difficult for people who for whatever reason cannot use UTF-8.

Alexander-Taran commented 6 years ago

Should be closed. Even erased from the face of github Supporting any non unicode encoding is asking for trouble. The only two guys who really need it can always add a manual step to build pipeline and convert to koi-8.

zewa666 commented 6 years ago

I agree UTF-8 is definitely a standard and having anything else is more a matter of specific use-case.