소스 검색

HUE-1574 [beeswax] ASCII error on query page

thinker0 12 년 전
부모
커밋
17cb57b7d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/lib/django_mako.py

+ 1 - 1
desktop/core/src/desktop/lib/django_mako.py

@@ -64,7 +64,7 @@ class DesktopLookup(TemplateCollection):
                             output_encoding=i18n.get_site_encoding(),
                             input_encoding=i18n.get_site_encoding(),
                             encoding_errors=ENCODING_ERRORS,
-                            default_filters=['unicode', 'escape'], 
+                            default_filters=['decode.utf8', 'unicode', 'escape'],
                             imports=IMPORTS)
     # TODO(philip): Make a django_aware default filter, that understands
     # django safe strings.  See http://www.makotemplates.org/docs/filtering.html.