From 0cac6939b770e4685f368bd87beb5fd01120218b Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 25 Oct 2005 03:43:57 +0000 Subject: - Fix usage of header() to drupal_set_header() - Emit charset for blogapi RSD --- modules/blogapi/blogapi.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi/blogapi.module') diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 9aad83b73..f1330f436 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -600,7 +600,7 @@ function blogapi_rsd() { $base = url('', NULL, NULL, TRUE); $blogid = 1; # until we figure out how to handle multiple bloggers - header('Content-Type: application/rsd+xml'); + drupal_set_header('Content-Type: application/rsd+xml; charset=utf-8'); print <<<__RSD__ -- cgit v1.2.3