소스 검색

set feed encoding to utf-8

Thomas Buck 2 년 전
부모
커밋
5ff97d94de
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      macros.py

+ 1
- 1
macros.py 파일 보기

@@ -443,7 +443,7 @@ def hook_preconvert_sitemap():
443 443
 # rss feed generation
444 444
 # -----------------------------------------------------------------------------
445 445
 
446
-_RSS = """<?xml version="1.0"?>
446
+_RSS = """<?xml version="1.0" encoding="UTF-8"?>
447 447
 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
448 448
 <channel>
449 449
 <title>%s</title>

Loading…
취소
저장