bem-archive / bem-tools

Toolkit to work with files based on BEM methodology
http://bem.info/tools/bem/
MIT License
395 stars 72 forks source link

Проблема с кодировкой в bem-tools >= 0.7.x #517

Closed narqo closed 10 years ago

narqo commented 11 years ago

Клонируем project-stub; ставим bem@0.7.x; меняем в bemjson.js:

  › git di desktop.bundles/
diff --git a/desktop.bundles/index/index.bemjson.js b/desktop.bundles/index/index.bemjson.js
index 77ae318..bfd2111 100644
--- a/desktop.bundles/index/index.bemjson.js
+++ b/desktop.bundles/index/index.bemjson.js
@@ -17,7 +17,7 @@
         {
             block: 'content',
             content: [
-                'main content'
+                'привет'
             ]
         },

Запускаем bem-server, в браузере видим:

header content goes here
?@825B
footer content goes here

С bem@0.6.19 все норм

arikon commented 11 years ago

/cc @SevInf @scf2k

fi11 commented 11 years ago

Issue #504

tadatuta commented 10 years ago

Данный баг — это следствие перехода с q-fs на q-io/fs.

Если на строке https://github.com/bem/bem-tools/blob/support/0.7.x/lib/base-server.js#L5 поменять назад, символы исправляются.

scf2k commented 10 years ago

Мы в курсе :) исправим

scf2k commented 10 years ago

https://github.com/bem/bem-tools/pull/521 https://github.com/bem/bem-tools/pull/522