gitana / alpaca

Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
http://www.alpacajs.org
Other
1.29k stars 371 forks source link

Finnish/Swedish locale scandics/umlauts/accents are wrong (at least in CDN version) #615

Open MaZZly opened 6 years ago

MaZZly commented 6 years ago

Hello and thanks for an awesome library.

I've found out in my usage of the lib that the åäö characters are not rendered correctly in finnish/swedish locale. Not sure if I'm doing something wrong or the language definitions are wrong.. But it seems wrong in cdn js (http://code.cloudcms.com/alpaca/1.5.24/bootstrap/alpaca.js):

å: Ã¥
ä: ä
ö: ö

Manually changing these values to åäö makes it render correctly.

https://github.com/gitana/alpaca/blob/master/src/js/messages/i18n/sv_SE.js does not have these odd characters, maybe some build / minify problem?