Mobify.js build encoding

155 views Asked by At

How can i do "mobify build" with result encoding WINDOWS-1251? By default the character set of mobify.js is UTF-8, but the character set in the client site is WINDOWS-1251.

If I use iconv, enconv etc. then it helping me with setting encoding is WINDOWS-1251 for mobify.js, but it breaks down the Russian characters. Thanx!

Sorry for my bad english.

1

There are 1 answers

0
jb. On

The Mobify Client only supports building files encoded as UTF8.

Make sure that all your files (mobify.konf, any templates etc.) are saved in UTF8 encoding and you should be good to go!