diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-07 20:29:23 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-07 20:29:23 +0200 |
commit | 3427797a2899506adbe5317671fe0b3c27c2a6a6 (patch) | |
tree | 199fd08da90a1e37f5c7f4d75e4af957dc5e7278 /user_guide_src/source/libraries/output.rst | |
parent | 968690491f625ddf59a5136b55ae1b9a2cf98a9a (diff) | |
parent | 25d47aec0417e52af43985663ebc1f62931f13cd (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-db-sqlite
Diffstat (limited to 'user_guide_src/source/libraries/output.rst')
-rw-r--r-- | user_guide_src/source/libraries/output.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/output.rst b/user_guide_src/source/libraries/output.rst index baceaae7b..0472d14cf 100644 --- a/user_guide_src/source/libraries/output.rst +++ b/user_guide_src/source/libraries/output.rst @@ -49,6 +49,10 @@ data, JPEG's, XML, etc easily. .. important:: Make sure any non-mime string you pass to this method exists in config/mimes.php or it will have no effect. +You can also set the character set of the document, by passing a second argument:: + + $this->output->set_content_type('css', 'utf-8'); + $this->output->get_content_type(); ========================================== |